scarysuperd101 Posted July 2, 2008 Posted July 2, 2008 Hey guys, I'm new to the msfn forums, I've been looking for a place to find some help with innosetup. Just a FYI, I'm converting my software from installshield to Innosetup, it is a financial program called Aufmass, which runs on the Pervasive SQL database.The function I'm trying to create, is a prompt after the license agreement page that gives the option of a standard install, which installs my .exe and launches the Pervasive SQL database install after my exe is finished installing, or a user defined install which allows the user to select or deselect the componets to install, in this case 2 checkboxes one being for my program aufmass and the other being pervasive SQL database 2000i. I think I've tried little work around and I've got myself quite confused, could someone possibly show me and example of how to get INNOsetup to display the standard install and user defined install!I'd be seriously grateful, if someone could please guide me in the right path here, thanks!-ScaryI'm just going to paste my code down below here to show you what I've got so far. Thanks again!; Script generated by the Inno Setup Script Wizard.; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!#define MyAppName "Aufmass"#define MyAppVerName "Aufmass 2.3"#define MyAppPublisher "weinrich software"#define MyAppURL "weinrich-software.de"#define MyAppExeName "aufmass.exe"[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={{445E152B-C5E4-4023-A570-4445F9D86610}AppName={#MyAppName}AppVerName={#MyAppVerName}AppPublisher={#MyAppPublisher}AppPublisherURL={#MyAppURL}AppSupportURL={#MyAppURL}AppUpdatesURL={#MyAppURL}DefaultDirName={pf}\{#MyAppName}DefaultGroupName={#MyAppName}LicenseFile=C:\Program Files\Inno Setup 5\Examples\Readme-German.txtInfoBeforeFile=C:\Program Files\Inno Setup 5\Examples\Readme-German.txtInfoAfterFile=C:\Program Files\Inno Setup 5\Examples\Readme-German.txtOutputBaseFilename=setupSetupIconFile=C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\aufmas.icoCompression=lzmaSolidCompression=yes[Languages]Name: "german"; MessagesFile: "compiler:Languages\German.isl"[Tasks]Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: uncheckedName: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked[Files]Source: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass.exe"; DestDir: "C:\Program Files\Aufmass"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\aufpos.mkd"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\berech.mkd"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\blatt.mkd"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\c_glied.mkd"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\d_glied.mkd"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\e_glied.mkd"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\field.ddf"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\file.ddf"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\gruppe.mkd"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\index.ddf"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\los.mkd"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\position.mkd"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\posmenge.mkd"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\projekt.mkd"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\daten\daten_leer\raum.mkd"; Destdir: "C:\Program Files\aufmass\daten\daten_leer"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\drm.dll";DestDir: "C:\Program Files\Aufmass"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\DTO.dll";DestDir: "C:\Program Files\Aufmass"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\replikation.exe";DestDir: "C:\Program Files\Aufmass"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\aufmass\Aufmass.hlp";DestDir: "C:\Program Files\Aufmass"; Flags:ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\Microsoft Pervasive\setup.exe"; DestDir:"{tmp}"; Flags: ignoreversionSource: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\Microsoft Pervasive\*"; DestDir:"{tmp}"; Flags: ignoreversion; NOTE: Don't use "Flags: ignoreversion" on any shared system files[Icons]Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"Name: "{group}\{cm:ProgramOnTheWeb,{#MyAppName}}"; Filename: "{#MyAppURL}"Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopiconName: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon[Run]Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#MyAppName}}"; Flags: nowait postinstall skipifsilentFilename: "C:\Documents and Settings\Crystal Palace\Desktop\AufMass Inno Setup Project\Microsoft Pervasive\SETUP.EXE"; Description: "{cm:LaunchProgram,Pervasive DB setup}"; Flags: nowait postinstall skipifsilent
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now