Replies: 3 comments
-
Are you sure that first error message wasn't cut off? Based on the code, it should look like:
|
Beta Was this translation helpful? Give feedback.
-
The console was still open and the error message was still there. |
Beta Was this translation helpful? Give feedback.
-
I am still interested in the random order Publish elements are placed in. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm beginner of MSI Installer, WixToolset and English language, sorry.
I cant understand document of Order attribute of Publish element.
I test below with changing Order attribute value.
Order=-1 case.
oh, i see. Legal values is from 0 to 2? mmm...
Order=0. compilation is succeeded with this value, and i use dark.exe for build msi file and resuls below.
CheckTargetPath, setTargetPath, NewDialog Elements order = 1,3,4.
and Inserted Publish Element's order = 0.
sorted by Order value. beautiful.
Order=1. compilation is succeeded with this value, and i use dark.exe for build msi file and resuls below.
Inserted Publish element is after CheckTargetPath Publish element has same order value '1' too.
Order=2. compilation is succeeded with this value, and i use dark.exe for build msi file and resuls same as Order=1 case.
sorted by Order value. ok.
Order=3. this value is not legal values of Order=-1 case's error message. Compilation is succeeded. mmm.
Inserted Publish element is before SetTargetPath Publish element has same order value '3' too.
Its different action from Order=1 case. ...???
I think inserted publish element will be ordered after SetTargetPath Publish element.
Order=4.
Same act from Order=3 case. Inserted Publish element is ordered before NewDialog VerifyReadyDlg Publish element has same order value '4'.
and pushing Next button shows VerifyReadyDlg (not expected results).
Order=5.
sorted by Order value. and pushing Next button shows NetworkSettingsDlg (expected results).
experiment is over.
In the end, I couldn't understand the legitimate behavior of this attribute.
What is expected behavior?
Using:
WIx in Heatwave extention for VisualStudio 2022.
> C:\Users\user\.nuget\packages\wixtoolset.sdk\6.0.0\tools\net472\x64\wix.exe --version 6.0.0+8c7432e
dark.exe is in WiX Toolset v3.11
Beta Was this translation helpful? Give feedback.
All reactions