Hi,
Could someone knowledgeable please take a look at the Dirs and Files section of my FIRST EVER Innosetup file, and let me know if this script is correct.
I need to Install both my .exe, and the Libs folder, into a folder called Test App inside the Program Files or Program Files(x86), depending on the OS.
I then need to install a folder called Test App Data (containing a database file and a few text files - all of which are read and writeable) into the user’s ApplicationData folder.
Thank you all in advance.
P.S Anyone know what size the personalised Wizard Image and Small Wizard image should be?
[code]; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
; NOTE: The value of AppId uniquely identifies this application.
; Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={05829F05-42C5-4BD6-B5F0-306004BF8604}
AppName=Test App
AppVersion=2.0
AppVerName=Test App 2.0
AppPublisher=Joe Bloggs
DefaultDirName={pf}\Test App
DisableDirPage=yes
DefaultGroupName=Test App
DisableProgramGroupPage=yes
OutputDir=C:\Users\me\Desktop
OutputBaseFilename=Test App Setup
Compression=lzma
SolidCompression=yes
[Languages]
Name: “english”; MessagesFile: “compiler:Default.isl”
[Tasks]
Name: “desktopicon”; Description: “{cm:CreateDesktopIcon}”; GroupDescription: “{cm:AdditionalIcons}”; Flags:
; These directories will be created by the installer inside the DefaultDirName (defined above).
[Dirs]
Name: “{app}\Test App Libs”
Name: “{appdata}\Test App Data”
; These are the files to include. By default you want to include the EXE and the Libs folder
; but you can include any other files you like as well.
; Be sure to change the path to point to your built application.
[Files]
Source: “C:\Users\me\Desktop\Test App\Test App.exe”; DestDir: “{app}”; Flags: ignoreversion
Source: “C:\Users\me\Desktop\Test App\Test App Libs\"; DestDir: “{app}\Test App Libs”; Flags: ignoreversion recursesubdirs
Source: "C:\Users\me\Desktop\Test App\Test App Data\”; DestDir: “{appdata}\Test App Data”; Flags: ignoreversion recursesubdirs createallsubdirs
[Icons]
Name: “{group}\Test App”; Filename: “{app}\Test App.exe”
Name: “{commondesktop}\Test App”; Filename: “{app}\Test App.exe”; Tasks: desktopicon
[Run]
Filename: “{app}\Test App.exe”; Description: “{cm:LaunchProgram,Test App}”; Flags: nowait postinstall skipifsilent[/code]