install program

Postby James Bott » Thu Sep 11, 2008 4: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby hag » Thu Sep 11, 2008 5:57 am

Running XP
Here's the code you requested.

Code: Select all  Expand view  RUN
; 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
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Postby Otto » Thu Sep 11, 2008 6:21 am

Hello hag,

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


Image


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.

User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Postby James Bott » Thu Sep 11, 2008 6: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Otto » Thu Sep 11, 2008 7:28 am

Image
User avatar
Otto
 
Posts: 6332
Joined: Fri Oct 07, 2005 7:07 pm

Postby Silvio » Thu Sep 11, 2008 1: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
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Postby hag » Thu Sep 11, 2008 3:38 pm

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

Thanks..
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 42 guests