简体   繁体   中英

how to condition a custom dialog in msi installer?

I have added a custom dialog in the start stage of my VS2008 created msi installer to allow user choose if he/she wants to update the database or not. But if database is NOT installed yet, that dialog doesn't make sense. So I want to search the database frist, if there is no database installed, that dialog should be ignored. How can do that

替代文字

You are trying to make Visual Studio Deployment Projects do things they were not designed to do. It would take extensive knowledge of MSI tables and tons of build automation scripting to manipulate the MSI after it's build. That is to say that if you have to ask the question, you aren't going to be able to do it.

Stop wasting your time with VDPROJ (Microsoft has retired it since even THEY know how much it sucks) and start looking at WiX or InstallShield.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM