[wix-users] Start with Windows

Christopher Painter chrpai at iswix.com
Sat Oct 17 21:00:52 PDT 2020


The short answer is yes.  The long answer has to do with:

1) Make sure the program (.exe) doesn't require elevation (it's a windows no-no to auto start a program that will have a UAC pop up )
2) Author a component that places the EXE in the windows registry run key
3) use a property to condition whether the component gets installed
4) author a ui element such as a check box to control the property

If the checkbox is selected the registry component gets installed and the program autostarts on logon.  If not, it doesn't.

________________________________
From: wix-users <wix-users-bounces at lists.wixtoolset.org> on behalf of Davide Perini via wix-users <wix-users at lists.wixtoolset.org>
Sent: Saturday, October 17, 2020 5:52 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Davide Perini <perini.davide at dpsoftware.org>
Subject: [wix-users] Start with Windows

As title,
a lot of "installer" let the user choose if the installed software
should start with windows or not.

Is this something doable with wixtools?

Thanks
Davide

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/



More information about the wix-users mailing list