Inno Setup Uninstaller .iss modified setting

notes : replace all the PyDataMan with the name of application

; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName “PyDataMan”
#define MyAppVersion “1.5”
#define MyAppPublisher “My Company, Inc.”
#define MyAppURL “http://www.example.com/”
#define MyAppExeName “PyDataMan.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={{2A75086E-2F14-467B-A3FA-0371E9E6256D}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
LicenseFile=C:\Users\hack3line\dist\eula.txt
OutputDir=C:\Users\hack3line\dist\setup
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes

[Languages]
Name: “english”; MessagesFile: “compiler:Default.isl”

[Tasks]
Name: “desktopicon”; Description: “{cm:CreateDesktopIcon}”; GroupDescription: “{cm:AdditionalIcons}”; Flags: unchecked

[Files]
Source: “C:\Users\hack3line\dist\PyDataMan.exe”; DestDir: “{app}”; Flags: ignoreversion
; NOTE: Don’t use “Flags: ignoreversion” on any shared system files

[Icons]
Name: “{group}\{#MyAppName}”; Filename: “{app}\{#MyAppExeName}”
Name: “{commondesktop}\{#MyAppName}”; Filename: “{app}\{#MyAppExeName}”; Tasks: desktopicon

[Run]
Filename: “{app}\{#MyAppExeName}”; Description: “{cm:LaunchProgram,{#StringChange(MyAppName, ‘&’, ‘&&’)}}”; Flags: nowait postinstall skipifsilent

Filename: {cmd}; Parameters: “/C Move “”{app}\unins000.exe”” “”{app}\PyDataMan – uninstall.exe”””; StatusMsg: Installing PyDataMan…; Flags: RunHidden WaitUntilTerminated
Filename: {cmd}; Parameters: “/C Move “”{app}\unins000.dat”” “”{app}\PyDataMan – uninstall.dat”””; StatusMsg: Installing {#MyAppName}…; Flags: RunHidden WaitUntilTerminated
Filename: {cmd}; Parameters: “/C Move “”{app}\unins000.msg”” “”{app}\PyDataMan – uninstall.msg”””; StatusMsg: Installing PyDataMan…; Flags: RunHidden WaitUntilTerminated
Filename: REG.exe; Parameters: “ADD “”HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Windows 8 ContextMenu – PyDataMan_is1″” /V “”UninstallString”” /T “”REG_SZ”” /D “”\””{app}\PyDataMan – uninstall.exe\”””” /F”; StatusMsg: Installing PyDataMan…; Flags: RunHidden WaitUntilTerminated
Filename: REG.exe; Parameters: “ADD “”HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Windows 8 ContextMenu – PyDataMan_is1″” /V “”QuietUninstallString”” /T “”REG_SZ”” /D “”\””{app}\PyDataMan – uninstall.exe\”” /SILENT”” /F”; StatusMsg: Installing PyDataMan…; Flags: RunHidden WaitUntilTerminated

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s