Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Msi file not working
 

Msi file not working

This is pretty strange. I made a custom prerequisite and added that to my Setup project. All msi and setup.exe files are ready. The bizarre thing is my msi file is not calling the prerequisite whereas i tried setup.exe , it invoked the prerequisite and my primary output.Why is that so?Am i missing anything. Kindly help

Balaji.

S Balaji  Wednesday, February 20, 2008 12:00 AM

You're saying "the msi file is not calling the prerequisite", but that's not how it works. You run setup.exe first, that installs the prerequisites and then fires off the MSI install.

PhilWilson  Wednesday, February 20, 2008 12:16 AM
Correct me if iam wrong. Normally we run the MSI file to install. So by clicking on the MSI file, itshould start my installation process, right.

S Balaji  Wednesday, February 20, 2008 12:25 AM
Not quite. To install a Windows Installer setup you can double click the .msi file. But the prerequisite is not included in your msi setup. Instead you launch setup.exe. This will install the prerequisites and finally launch your msi file. If you double click the msi file you are not using setup.exe in any way, essentially you're bypassing the prerequisite install step.

Stefan Krueger  Thursday, February 21, 2008 4:34 PM

You can use google to search for other answers

Custom Search

More Threads

• how to escape overriding cygwin value in registry key???
• clicking a folder while searching through Windows Explorer brings up Search Page
• Please Help
• Remove .dll custom action
• Can't get custom prereq. for SqlNativeClient to work
• Where is the Documention About the Data ClickOnce Puts in the Registry?
• Test / troubleshoot a CA on uninstall
• VSTO Installer Stopped Working
• How to check for updates programmatically
• Weird commit custom action issue