Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The perfect setup routine
Message
From
23/10/2007 09:40:37
 
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01262704
Message ID:
01262777
Views:
20
Lynda,

just to give you an alternative, this is part of my inno setup script that installs my exe, ini and chm and the VFP stuff:
[Files]
;**********************************************************************
;
;	Workstation component files
;
;**********************************************************************
Source: Optical.exe; DestDir: {app}; Flags: replacesameversion; Components: workstation
Source: Best Practice - Optical.ini; DestDir: {userappdata}\Best Practice\Optical; Components: workstation; Flags: confirmoverwrite
Source: BestPracticeOptical.chm; DestDir: {app}; Components: workstation

Source: C:\Program Files\Common Files\Microsoft Shared\VFP\gdiplus.dll; DestDir: {cf}\Microsoft Shared\VFP; Flags: sharedfile uninsneveruninstall restartreplace; Components: workstation

Source: C:\Program Files\Common Files\Microsoft Shared\VFP\vfp9r.dll; DestDir: {cf}\Microsoft Shared\VFP; Flags: regserver sharedfile uninsneveruninstall restartreplace; Components: workstation

Source: C:\Program Files\Common Files\Microsoft Shared\VFP\vfp9renu.dll; DestDir: {cf}\Microsoft Shared\VFP; Flags: sharedfile uninsneveruninstall restartreplace; Components: workstation

Source: C:\Program Files\Common Files\Microsoft Shared\VFP\msvcr70.dll; DestDir: {sys}; Flags: uninsneveruninstall onlyifdoesntexist; Components: workstation

Source: C:\Program Files\Common Files\Microsoft Shared\VFP\msvcr71.dll; DestDir: {sys}; Flags: uninsneveruninstall onlyifdoesntexist; Components: workstation

Source: C:\Program Files\Common Files\Microsoft Shared\VFP\foxhhelp9.exe; DestDir: {cf}\Microsoft Shared\VFP; Flags: sharedfile uninsneveruninstall restartreplace; Components: workstation

Source: C:\Program Files\Common Files\Microsoft Shared\VFP\foxhhelpps9.dll; DestDir: {cf}\Microsoft Shared\VFP; Flags: regserver sharedfile restartreplace uninsneveruninstall; Components: workstation

Source: C:\Program Files\Microsoft Visual FoxPro 9\ReportBuilder.app; DestDir: {app}; Components: workstation

Source: C:\Program Files\Microsoft Visual FoxPro 9\ReportOutput.app; DestDir: {app}; Components: workstation

Source: C:\Program Files\Microsoft Visual FoxPro 9\ReportPreview.app; DestDir: {app}; Components: workstation

[Run]
Filename: {cf}\Microsoft Shared\VFP\foxhhelp9.exe; Parameters: /regserver
This installs the common files in the Microsoft Shared folder and hence they are available to all other applications that need them.

Hope this helps.


>Thank you for the sample inno setup script. It looks much more reliable and predicatable that InstallShield. Once I have identified the esential runtime files, I'll test the theory that they can be located in the application directory and need not be registered. If someone else has used this technique, I'd love to hear from them!
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform