Ignore my previous email, didn't notice you were using WixUI_MINIMAL
I think you are missing this:
<Publish Dialog="ExitDialog"
Control="Finish"
Event="DoAction"
Value="StartReadme"> WIXUI_EXITDIALOGOPTIONALCHECKBOX =1 </Publish>
Basically trigger the CA if check box is selected.
-----Original Message-----
From: Pavan Konduru [mailto:[email protected]]
Sent: Thursday, October 16, 2014 1:20 PM
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] duplicate symbol when addind Wix ui and customaction
Where do you define the check box?
-----Original Message-----
From: sceiler [mailto:[email protected]]
Sent: Thursday, October 16, 2014 1:10 PM
To: [email protected]
Subject: [WiX-users] duplicate symbol when addind Wix ui and customaction
Hi,
I want to start a readme file after installation. Following this guide:
http://wixtoolset.org/documentation/manual/v3/howtos/ui_and_localization/run_program_after_install.html
it looks like I have to add wix ui. So my code looks like this:
<UI>
<UIRef Id="WixUI_Minimal" />
<Publish Dialog="ExitDialog"
Control="Finish"
Event="DoAction"
Value="StartReadme"></Publish>
</UI>
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch README" />
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1"/>
<Property Id="WixShellExecTarget" Value="[#readme]" />
<CustomAction Id="StartReadme" BinaryKey="WixCA" DllEntry="WixShellExec"
Impersonate="yes" />
But the last line, <CustomAction Id="StartReadme" BinaryKey="WixCA"
DllEntry="WixShellExec" Impersonate="yes" />, causes an duplicate symbol error
message.
I checked and there is certainly no other Id with StartReadme. In addition I
found this bug report:
http://sourceforge.net/p/wix/mailman/message/10153527/
but as it was updated 2012 I guess this is fixed, if this even affect my
problem...
What am I doing wrong?
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/duplicate-symbol-when-addind-Wix-ui-and-customaction-tp7597340.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users