>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.