Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Installing an APP twice
Message
From
08/03/1999 14:14:25
 
 
To
08/03/1999 12:48:56
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00195206
Message ID:
00195257
Views:
23
>Hi Folks,
>We are having a problem installing an App more than once on the same station.
>We are using the Setup wizard. Our Customer wants to be able to install our App more than once (apparently the App is hardwired to look in a subdirectory .\DATA for the data and they want to have more than one set of data on the same staion).
>Anyway, the problem is, when we run the Setup a second time, it detects the first installation and gives us 2 options: REINSTALL and ADD/REMOVE. Neither of these choices allows us to install to a different directory.
>Can this be disabled, or bypassed in the setup wizard? Is it reading some registry entry? Could we eliminate the registry entry before the second install?
>My boss has ruled out Installshield (at least to begin with). He also doesn't want to rewrite the program to access different data directories (by passing a parameter or an ini file).
>Any ideas?
>

Get another boss. You can wipe out the SETUP.STF file, but unless you create a new program group, the shortcut is going to always point to the last one installed. The easiest way to handle this would be to install once, and then create new shortcuts to start in new locations, either by hand, or programmatically using either the WScript.Shell automation object from the Windows Scripting Host, or a wrapper .DLL like George Tasker's (downloadable from UT) on the IShellLink API inside a VFP application, or write something in another language.

>Thomas Hirschman
>Microtime, Inc.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform