FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour install program
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
install program
Posted: Thu Sep 11, 2008 04:10 AM

Hua,

>Just a FYI, all {app} in my scripts have quotes and so far seems to produce what's wanted (Including the Start In field.

Thanks for that.

Two things come to mind. Either app has not been defined for some reason, or maybe it is a probloem with the OS.

Harvey, are you running Vista?

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 598
Joined: Tue Apr 15, 2008 04:51 PM
install program
Posted: Thu Sep 11, 2008 05:57 AM
Running XP
Here's the code you requested.

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

#define MyAppName "Up Your Cash Flow"
#define MyAppVerName "Up Your Cash Flow xt2009beta"
#define MyAppPublisher "GPS"
#define MyAppURL "http://www.cashplan.com/"
#define MyAppExeName "CASHVER3.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={{EC209E6C-BC50-4521-AE6D-6A250AE2202A}
AppName={#MyAppName}
AppVerName={#MyAppVerName}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
DefaultDirName=c:\cfxt2009\Up Your Cash Flow Beta
DefaultGroupName={#MyAppName}
OutputDir=f:\cash32\prodfiles
OutputBaseFilename=xt2009beta
Compression=lzma
SolidCompression=yes

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

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

[Files]
Source: "F:\cash32\install\CASHVER3.EXE"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\A_1.BMP"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\B_1.BMP"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\Budget.pdf"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\C_1.BMP"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\CASHVER3.EXE"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\cons1.pdf"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\CONTRACT.PDF"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\D_1.BMP"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\E_1.BMP"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\Engagement.pdf"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\F_1.BMP"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\Forecast.pdf"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\G_1.BMP"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\mapping.pdf"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\NFP.DLL"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\Plain Paper.pdf"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\PLAT6.ICO"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\prev32.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\Projection.pdf"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\rulesofroad.pdf"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\TEAM5.BMP"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\TESTBMP2.BMP"; DestDir: "{app}"; Flags: ignoreversion
Source: "F:\cash32\install\VIEWLET2.BMP"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

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

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#MyAppName}}"; Flags: nowait postinstall skipifsilent
Thank you

Harvey
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
install program
Posted: Thu Sep 11, 2008 06:21 AM
Hello hag,

I use Inno Setup with ISTool.
Did you try ISTool?
Regards,
Otto





What is ISTool, and why was it created?
Jordan Russell has created a fantastic setup compiler that creates setups that can match most of the commercial installers on the market. This program is called Inno Setup, and is freeware for both commercial and private developers. If there is a disadvantage to Inno Setup, it would be that you will have to manually create the setup scripts. The format is fairly simple, but personally I have problems remembering all the options and parameters, and the meaning of them all. So that is why I decided to create ISTool, which displays all this information visually, and has context sensitive help for all parameters and options.
ISTool is not a complete package for creating installations. It is merely an addition to Inno Setup, and requires that Inno Setup is installed to function properly.

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
install program
Posted: Thu Sep 11, 2008 06:35 AM

Harvey,

You are missing the WorkingDir: clause on this line:

Name: "{commondesktop}{#MyAppName}"; Filename: "{app}{#MyAppExeName}"; Tasks: desktopicon

This is the line that creates the desktop shortcut.

I also note that you have the EXE listed twice in the Files section. This is unrelated to the shortcut problem.

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
install program
Posted: Thu Sep 11, 2008 07:28 AM
Posts: 3107
Joined: Fri Oct 07, 2005 06:28 PM
install program
Posted: Thu Sep 11, 2008 01:41 PM

IDEA :
many years ago I made a Install setup in fivewin& clipper
we can modify it
If you want hwelp me because I not have much time

Best Regards, Saludos



Falconi Silvio
Posts: 598
Joined: Tue Apr 15, 2008 04:51 PM
install program
Posted: Thu Sep 11, 2008 03:38 PM

James and all it is working now. The line of code as indicated by james was the problem.

Thanks..

Thank you

Harvey

Continue the discussion