Install Errors in InstallShield 2008 Premier Edition

I have a setup that was created using the InstallScript MSI project type . This problem is encountered by our client and wants a quick solution.

Suppose I started the installation from a path like

C:\Setup_V_1.0.0931.1

      

Inside this folder, I have a Setup.exe through which I will install the product. After installation, or after a few days, I'll change the path:

C:\New\Setup_V_1.0.0931.1

      

and this time I want to change the setting. We actually support 3 functions: server, client and service.

This time, I only want a client, not a server. So I will click on Setup.exe or by clicking the Uninstall icon in the Run menu, which will allow you to modify, repair or uninstall in maintenance mode. I choose Modify and select a feature, but as I install it, this error message appears:

The installer could not find the file on the specified path or drive. please check that the correct disc is inserted or specify a new path. Cannot find file c: \ New \ Setup_V_1.0.0931.1 \ setup.msi

Then another popup will be shown:

Error 1706. No valid source found for the product. Windows Installer cannot continue.

The following error message:

Error: 1603. Fatal error during installation. Refer to Windows Installer Help (Msi.chm) or MSDN for more information.

But if I change the path to its original location, it works fine.

How can I solve this?

Event

I checked in this registry path:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\{Product-Key}

      

This key contains a lot of information inside InstallProperties. There is a key called InstallSource and its value C:\Setup_V_1.0.3909.1\

. Even after changing this value, installshiled still shows errors.

I found the same registry information for uninstall information:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{Product-Key}

      

+2


source to share


2 answers


In your properties change ReinstallMode (or maybe reinstall, I'll forget that) from omus to vomus



v means your install cache, so it will put your .msi file in c: \ windows \ installer so that you can use it later.

0


source


When installing an MSI, Windows Installer saves the original MSI path in the registry (the entry you specified in the InstallSource). When you run the MSI in maintenance mode, Windows Installer will use this path to find the installation data (CAB files).

When moving the MSI, the path stored in the registry is no longer valid, so Windows Installer cannot find the installation data.



A possible solution is to use Add or Remove Programs or Programs and Features in Control Panel to change the installation. Thus, the cached MSI is used.

0


source







All Articles