Microsoft KB Archive/306444

= PRB: Advertised Shortcuts Do Not Work on Windows 98 =

Article ID: 306444

Article Last Modified on 12/21/2004

-

APPLIES TO

 Microsoft Windows Installer 1.0, when used with:  Microsoft Windows 98 Standard Edition

 Microsoft Windows 98 Second Edition 

-



This article was previously published under Q306444



SYMPTOMS
When you try to start a program by using a shortcut, you may receive the following error message:

This is not a valid Win32 application



CAUSE
This behavior may occur when the Windows Installer engine is installed at the same time as an MSI package and the computer is not made to restart. The Windows Installer engine prompts for a restart if it is version 1.1 or later. However, the Windows Installer 1.0 engine does not provide this restart prompt.



RESOLUTION
When the installer engine is installed, the computer needs to restart for the operating system to load the DLL into memory. Shortcuts do not work properly until you restart the computer. To work around this behavior, use either of the following methods:
 * On the command line, type msiexec /i myinstall.msi REBOOT=Force or setup.exe REBOOT=Force . You can place this command in a batch file or set up a wrapper program.
 * Set the REBOOT property inside the .msi file. To do this, use the Orca table editing tool from the Windows Installer SDK. You can use Orca to open an .msi file that was created by VSI to view all of the different tables. In the Property table, set the Property column to REBOOT, and then set the Value column to Force.

NOTE: Any changes that you make in the .msi file will be removed if you rebuild the project in VSI. Also, if you set the REBOOT property inside the msi package, the computer will restart during the next installation and when you remove the program, and this may not be a requirement.

<div class="status_section">

STATUS
This behavior is by design.

<div class="references_section">