What is a secure location for WiX Burns ApprovedExeForElevation? -


i try have standard bootstrapper run program after installing.

i had working, ran problems install location due 32/64 bits program files have both in installer. version install depends on bitness of excel, ui choice if both bitnesses installed. ensuring installation happens in correct program files easiest msi files. didn't have location anymore "launchtarget" variable.

i found in wix burn: reading launchtarget registry how read registry, , have working, on running:

[1cac:232c][2015-04-29t12:25:26]i601: searching registry approved exe path, key: software\microsoft\myprogram, value: 'myprogram', win64: no [1cac:232c][2015-04-29t12:25:27]i000: executable path not in secure location: c:\myfolder\myprogram.exe [132c:05cc][2015-04-29t12:25:27]e000: error 0x80070002: failed launch target: myprogram.exe 

the page of approvedexeforelevation , wip implementing talk 'secure location', seems miss definition of this. need have exe file deemed secure, no matter users put in installation location?

or there way value registry after installation , run without elevation not seem need that?

from wip,

for now, package cache folder , program files folder(s) (x86 , x64) folders considered secure. 

getting launchtarget variable registry not possible (unless registry value set before running, in case can use registrysearch), feature request need filed @ http://wixtoolset.org/issues. today, need ba prompt user install directory , pass msi.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -