InnoSetup: directing your setup folders

Consider the below settings:
This works out fine when your application is installed.
Source: C:Documents and SettingsdarshaMy DocumentsDownloadspostItdistpostIt.jar; DestDir: {app}; Flags: ignoreversion
We got a problem here. Since you need the folder lib to go into a directory called as lib and not into the parent folder, your application wont work.
Source: C:Documents and SettingsdarshanMy DocumentsDownloadspostItdistlib*; DestDir: {app}; Flags: ignoreversion recurse subdirs createall subdirs
You can make it work by adding a small correction here. Now things work out fine here:
Source: C:Documents and SettingsdarshanMy DocumentsDownloadspostItdistlib*; DestDir: {app}lib; Flags: ignoreversion recursesubdirs createallsubdirs
Source: C:Documents and SettingsdarshanMy DocumentsDownloadspostItdistREADME.TXT; DestDir: {app}; Flags: ignoreversion

In

Leave a Reply

Your email address will not be published. Required fields are marked *