My requirement is to create a directory in programdata/test/example. How can I do that in wix?
相关问题
- How does the setup bootstrapper detect if prerequi
- Wix: How can I set, at runtime, the text to be dis
- Mysql-installer showing error : Memoy could not be
- Wix variable name formats with spaces and other ch
- Cancel installation from my custom action
相关文章
- chained msi's/Bootstrapper/prerequisite?
- How do I require a value in a textbox in a Wix cus
- How to prevent WiX bundle with same UpgradeCode/Ve
- How do I pass a default 'install location'
- Running msiexec from a service (Local System accou
- Set InstallPath registry key using Visual Studio S
- Looking for a flexible windows installer product w
- Can I use msilib or other Python libraries to extr
this will create folder for you...
Under
<Product>
you can enter:And reference the component
CreateProgramDataZZZ
in yourfeature
.It can also be helpful to set permissions on the directory like this:
(in place of
<CreateFolder />
)Define the folder like this:
The important part here is the
CommonAppDataFolder
Id, which is known by Windows installer. You can find the full list of known system folders in the Windows Installer Property Reference.If you install any files to that folder, it will be created implicitly. If not, you can force it to be created by installing a component like this: