PDA

View Full Version : Windows Installer



wengert
10-16-2001, 07:29 AM
I have several cases where users are not able to install my app built with ISX 3.51. They get the following error:

"The installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service."

If I have users on Win9x systems manually run instmsia.exe and then run the installation again it works fine.

Can I add the execution of instmsia.exe as a custom action at the start of the installation to avoid this problem? Is so, at what stage should this be done.

Also - can I set it up to run instmsiw.exe if the target system is Win2000/NT and if so, how?

Thanks

Chandima
10-16-2001, 08:26 AM
I'm afraid you cannot install instmsia.exe as a Custom Action. The reason is because the Custom Action is launched from the built msi. For the built msi to run, Windows Installer needs to be installed. But instmsia.exe is what installs the Windows Installer.

I did a little more research on MSDN and found the following link.

http://support.microsoft.com/support/kb/articles/Q229/8/19.ASP

This article points out this problem for the Office 2K install. The Office 2K Setup.exe is similar to ours. It runs instmsia.exe and then the msi. There current work around is to double click on instmsia.exe and then run the Setup again. They have confirmed that it is a bug of theirs. Funnily it seems that instmsia.exe is somehow dependent on DCOM.

wengert
10-16-2001, 08:32 AM
Thanks Chandima. That is an interesting article. If it can happen to MS's own Office installs I guess we'll all have to live with it for now.

p.s. I like the email notification from this board when someone responds to my posts. Good feature!

Andy_Kerr
10-17-2001, 10:42 AM
I have a similar problem. however once I have the user manually run the instmsiw.exe file (windows NTSP6) I get a different message when he runs the installation again:

This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows installer package


Can anyone help me with this?

thanks


andy

Chandima
10-18-2001, 08:13 AM
Does this happen when you run Setup.exe? Does it happen when you just double click on the msi as well? I have not come across this problem yet. Does the same setup run properly on any other machine? If so that means something is wrong with the Windwos Installer on this particular NT machine. If so try running instmsiw.exe one more time and then the install.

ehardebeck
11-01-2001, 12:33 PM
I have this problem too: (as reported in numerous threads in this forum)

"The installation package cannot be installed by the Windows Installer service. You must install a Windows service pack that contains a newer version of the Windows Installer service."

(Windows Installer error ERROR_INSTALL_PACKAGE_VERSION 1613 )

Is there a fix or workaround to this problem yet? Does InstallShield Express 3.53 fix it? Or the Windows Installer 2.0 engine?

It's hard to believe that Setup.exe can't somehow execute instmsia.exe in whatever way that manually running it does.
Is this MSFT KB article related to this problem?
http://support.microsoft.com/directory/article.asp?ID=KB;EN-US;Q238413

Chandima
11-02-2001, 10:13 AM
We are currently looking at this. But I doubt there is much we can do about it. If you look at http://support.microsoft.com/suppor...s/Q229/8/19.ASP you will see that it's a problem for the Microsoft Offcice 2000 install as well. This has something to do with the instmsi.exe files. For some reason when it is run by Setup.exe on clean Win 95 and 98 machines the instmsi.exe file returns this message. Not the Setup.exe.

As the article mentions, Microsoft has acknowledged this to be a problem with their products. The workaround they provide is all we can provide. Hope this clears up the issue.

wengert
11-02-2001, 12:58 PM
Chandima;

Can you repost the link to the KB article? The one in your initial post doesn't work.

Thanks

Wayne

Chandima
11-05-2001, 10:15 AM
This one seems to work still

http://support.microsoft.com/support/kb/articles/Q229/8/19.ASP

wengert
11-05-2001, 10:52 AM
Works now... thanks

Wayne