Please, as always, test thoroughly yourself. There is a lot of what I call "conspiratory complexity" in Windows Installer - problems surface unexpectedly - for example when you try to deliver an upgrade. Persisting your properties in the registry during install your feature directory properties :.
And important! You may need to write and read from the bit section. In an ideal world this should suffice for your purpose. I did not have time to test what happens when these properties are set at the command line for an upgrade which could happen.
To create a major upgrade for testing you can basically just bump up one of the first three digits of your version number and compile a new MSI rename the old MSI in the output folder to preserve it - and generate a new product GUID unless you have it set to auto-generate, in which case the version bump is enough.
That style of shortcut is for a target that might not be installed now nor at the time it is invoked. It creates the classic. It is useful for shortcuts to targets that your installer is not responsible for but might be useful for users of your product to use e.
Alternatively, a shortcut for a target you are installing or advertising will be uninstalled when the target is unadvertised product is uninstalled. For example, WiX installs a shortcut to wix. The Shortcut element for an advertised shortcut can be made a child of the File element. To insert the Shortcut element into heat's output, pass it the path to an XSL transform.
In general, you should base your decision on the main idea of KeyPath option. From MSDN:. This value points to a file or folder belonging to the component that the installer uses to detect the component.
So, if you author 1 file per component, you won't face the situation when you accidentally deleted a file and repair didn't bring it back.
If you author N files per component, you'll anyway either select one of them to be a KeyPath and WiX docs encourage you to do this explicitly , or you add an extra registry entry and let it be the KeyPath. No, basically, this doesn't make sense. When you set it on a File explicitly, then obviously the file is a key path. Menu Help Create Join Login. WiX toolset Brought to you by: barnson , robmen. Thanks for helping keep SourceForge clean. X You seem to have CSS turned off.
Briefly describe the problem required :. Upload screenshot of ad required :. Couldn't be easier. Below is some doc that will appear in the next release of WiX.
Note: The WixUI dialog library is currently at technical preview status. Please provide feedback on the WiX-devs mailing list. Active 2 years, 5 months ago. Viewed times. Improve this question. Got this sorted? Add a comment. Active Oldest Votes. Improve this answer. Sign up or log in Sign up using Google. Sign up using Facebook.
Sign up using Email and Password. Post as a guest Name. Email Required, but never shown.
0コメント