hereForLearing
hereForLearing

Reputation: 1288

Make innosetup copy the full folder instead of only its content

How to make innoSetup copy the full folder instead of copying the content of the folder only? I want to add my resources folder to the setup :

Source: "C:\Users\youss\eclipse-workspace\myApp\resources\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

but what happens is that when I install the app I can't find the root folder (resources), all what I find is its content, what breaks the app (all the paths to the resources become invalid)

Thank you.

Upvotes: 3

Views: 2480

Answers (1)

Ken White
Ken White

Reputation: 125651

Change your destination (DestDir) to include the folder:

Source: "C:\Users\youss\eclipse-workspace\myApp\resources\*"; DestDir: "{app}\resources"; Flags: ignoreversion recursesubdirs createallsubdirs

Upvotes: 9

Related Questions