I've created a setup project in Visual Studio 2008. I would like the installed location DefaultLocation never to be modified by the user during installation, probably by skipping the 'Select Installation Folder' dialog during setup. Is there a way to do this, either in VS2008 (or VS2010) or using an MSI editor such as Orca. Please advise at your earliest convenience, thanks.
相关问题
- How does the setup bootstrapper detect if prerequi
- the application was unable to start correctly 0xc0
- Wix: How can I set, at runtime, the text to be dis
- Installation of Leiningen 2.X in Mac OS X
- Mysql-installer showing error : Memoy could not be
相关文章
- How to add external file to application files ( cl
- Getting errors / failing tests when installing Pyt
- How do you make an installer for your python progr
- chained msi's/Bootstrapper/prerequisite?
- Installing the R interpeter and R as a shared libr
- How to get path of the php binary on server where
- Looking for documentation on the “right” way to in
- What Component IDs should I search for to detect w
Yes, you can do it in Orca, manually, or you can write a post-processing script that uses the
WindowsInstaller.Installer
COM object to doctor-up the MSI.The MSI I have generated from Visual Studio present this on install:
On the Folder form, there's a
Browse...
button that allows the user to select the folder to install into. Sounds like you just want to disable THAT particular action, without changing the flow of the install otherwise.If this is the original:
alt text http://i40.tinypic.com/2rh7l2o.jpg
...you want to just lose the Browse button. But to avoid confusion, you will need to also alter the text on that dialog as well. Confirm the install folder instead of Select the install folder. And you need to modify the text that tells people to click Browse. And then probably move the Disk Cost button up, just for aesthetic purposes.
These are the changes:
alt text http://i41.tinypic.com/i23n8i.jpg
And the result you want is this:
alt text http://i42.tinypic.com/vnedsh.jpg
To do that manually in Orca, you need only to make a few changes in the Control table:
To automate these changes, you can write a Javascript module, as described in this answer, but using the changes described above, instead.