简体   繁体   中英

How to launch Excel application when setup is complete?

I made an installer using WIX and added a checkbox to setup with purpose to start Excel if its checked. But I don't now what to put in custom action. This is a code for checkbox from here :

<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch Microsoft Excel" />  
 <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1" /> 
 <Property Id="EXCELSRCH"> 
    <RegistrySearch Id="ExcelSearch" Root="HKLM" Key="SOFTWAREMicrosoftWindowsCurrentVersionApp Pathsexcel.exe" Name="Path" Type="raw" /> 
</Property> 

How do I make this checkbox work? PS I am completely newbie on Wix and programming at all.

Please see the WiX help topic:

How To: Run the Installed Application After Setup

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM