PDA

View Full Version : Why is it making me uninstall the previous version?



crash41
03-20-2006, 02:55 PM
I simply want to have the user have the ability to change the location of the install - and not have to uninstall anything. is that possible?

TsungH
03-20-2006, 03:46 PM
Please read the restrictions in Changing the Target Location for a Directory (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/changing_the_target_location_for_a_directory.asp).

crash41
03-20-2006, 06:42 PM
My older InstallShield 5.1 worked like this:

If i already had data in the folder i'm going to install to - it would give me a warning that it would be overwritten or i should change the folder.

Is this something I can do with 11.5?

TsungH
03-20-2006, 07:51 PM
I presume you meant InstallShield Professional 5.1.

For Express 11.5, or any version that is based on MSI technology for that matter, that is not the default behavior. Windows Installer does provide a way to somewhat mimic the behavior of legacy setups. You will need to be able to edit tables (either in project file or in MSI file) to achieve that. For information, please refer to Adding and Removing an Application and Leaving No Trace in the Registry (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/adding_and_removing_an_application_and_leaving_no_trace_in_the_registry.asp).

Unfortunately, Express Edition does not provide a way to edit tables directly; Professional/Premier Editions do. You can use MSI table editing tools like Orca (from Microsoft) to edit and save Express project file. However, I have never tried making these changes, I do not know how Express will handle in this case. Try it at your own risk, and make backup frequently.