xml - WiX Project VS 2015 Directories are not created -
i followed simple youtube instruction video on how basic wix setup create msi file. purpose place files directories , make 4 registry entries. did setup project built vs 2015 great result. wix project not work. first time working xml too.
for example, here defined directories:
<fragment> <directory id="programfilesfolder" name="programfiles"> <directory id="msofficefolder" name="microsoft office"> <directory id="office14folder" name="office14" /> <directory id="library" name="library"> <directory id="makro" name="makro"> </directory> </directory> </directory> </directory> </fragment>
here put files folders:
<!-- adding files office14 folders --> <fragment> <directoryref id="office14folder"> <component id="umrch.hlp" guid="*"> <file id="umrch.hlp" source="mysourcefiles\umrch.hlp" keypath="yes" checksum="yes"/> </component> </directoryref> <directoryref id="library"> <component id="umrch.xla" guid="*"> <file id="umrch.xla" source="mysourcefiles\umrch.xla" keypath="yes" checksum="yes"/> </component> </directoryref> <directoryref id="makro"> <component id="umrch.xla" guid="*"> <file id="umrch.xla" source="mysourcefiles\umrch.xla" keypath="yes" checksum="yes"/> </component> </directoryref> <!-- adding files company folders--> <directoryref id="data"> <component id="datafiles" guid="*"> <file id="defumrch.dat" source="mysourcefiles\defumrch.dat" keypath="yes" checksum="yes"/> <file id="ll_umrch.dat" source="mysourcefiles\ll_umrch.dat" keypath="no" checksum="yes"/> </component> </directoryref> <directoryref id="version"> <component id="versionfiles" guid="*"> <file id="umrch_readme.doc" source="mysourcefiles\umrch_readme.doc" keypath="yes" checksum="yes"/> <file id="umrch_version.txt" source="mysourcefiles\umrch_version.txt" keypath="no" checksum="yes"/> </component> </directoryref> <!-- adding files windows folder--> <directoryref id="windowsfolder"> <component id="windowsfiles" guid=""> <file id="umrch.dll" source="mysourcefiles\umrch.dll" keypath="yes" checksum="yes"/> <file id="umrch.lib" source="mysourcefiles\umrch.lib" keypath="no" checksum="yes"/> <file id="umrch.mif" source="mysourcefiles\umrch.mif" keypath="no" checksum="yes"/> </component> </directoryref> </fragment>
and here should installed:
<fragment> <!-- tell wix install files --> <feature id="xlahelp" title="xla , files" level="1"> <componentref id="umrch.hlp" /> <componentref id="umrch.xla" /> </feature> <feature id="companyfiles" title="company files" level="1"> <componentref id="datafiles" /> <componentref id="versionfiles" /> </feature> <feature id="windowsfiles" title="windows files" level="1"> <componentref id="windowsfiles" /> </feature> <feature id="registry" title="umrch" level="1"> <componentgroupref id="registry"/> </feature> </fragment>
are there references missing or did wrongly use xml?
edit: here product wix
<product id="*" name="umrch" language="1033" version="1.0.0.0" manufacturer="sample" upgradecode="ee45fb60-6741-4424-8136-dfc0d679629a"> <package installerversion="200" compressed="yes" installscope="permachine" /> <majorupgrade downgradeerrormessage="a newer version of [productname] installed." /> <mediatemplate /> </product>
edit stein Åsmul:
data , version should defined here:
<fragment> <directory id="windowsvolume" name="windowsvolume"> <directory id="!(bind.property.manufacturer)" name="!(bind.property.manufacturer)"> <directory id="umrch" name="!(bind.property.productname)" /> <directory id="data" name="data"> <directory id="version" name="version" /> </directory> </directory> </directory>
it compile when using wix. .msi file built without errors occuring. when opening superorca, shows tab _validation, since new have no idea on how read .msi within orca though.
i added gist github better visibility.
does file compile @ when using wix? looks have not defined of directories install to. example data , version. if output msi file, when open orca? have run validation on msi?
i "evolve" answer once have updated question more detail. let's try minimize use of comments "discussion".
Comments
Post a Comment