I'm having a few problems with dark. The MSI I'm attempting to decompile was 
built with WiX 3.5 and a modified form of WiXUI_InstallDir, by copying 
WiXUI_InstallDir.wxs into a <UI> section and modifying:

<UI>
  <Dialog Id="UpgradePromptWelcomeDlg" Width="370" Height="270" Title="!
(loc.WelcomeDlg_Title)">...</Dialog>
  <TextStyle...>
  <Property...>
  <DialogRef...>
  <Publish...>
</UI>
<UIRef Id="WixUI_Common" />

Now, if I run this MSI through dark, I get errors of the form:

x.msi : warning DARK1059 : The ControlEvent table contains a row with primary 
key(s) 'LicenseAgreementDlg/Back/NewDialog/UpgradePromptWelcomeDlg/1' whose 
Dialog_ and Control_ columns contain the values, 'LicenseAgreementDlg' 
and 'Back', which specify a foreign key relationship with the Control table.  
However, since the expected foreign row specified by this value does not 
exist, this will result in some information being left out of the decompiled 
output.

Orca disagrees. (I get this error even if I just use vanilla 
WixUI_InstallDir.) The resulting .wxs is of the form:

<UI>
  <Dialog Id="UpgradePromptWelcomeDlg" Width="370" Height="270" Title="!
(loc.WelcomeDlg_Title)">...</Dialog>
</UI>
<UIRef Id="WixUI_InstallDir" />

which isn't correct.

For my purposes, I would be happy (at the moment) using dark -xo, but it 
doesn't appear to fill in the file name:

dark -xo x.msi -nologo -x . -o x.wixout
light -nologo x.wixout
x.msi : error LGHT0085 : Invalid file name ''.

Any help would be appreciated.

Thanks in advance,
David McCabe


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to