Iam strugling with creating ONE-FILE setup for my Windows WPF project, that will run WITHOUT elevated privileges.
The target is to create single executable that can be downloaded from web and simply installed, even for standard Windows user.
The instalation goes to {user}appdatalocal, so it does not need elevated privileges to install. It should work similarly to Chrome installation. It should not ask user to unzip to temporary directory and to run setup from there again.
What I have already tried:
I have downloaded VS extension VS Installer Projects and created project. It works fine, it creates setup.exe and corresponding MSI file. Using msiinfo.exe -w 10 I can set the MSI to be installed without elevated privileges. Everything works OK,the only problem is that it creates TWO files.
Then I downloaded MSI2EXE convertor https://www.imelfin.com/convert-msi-to-exe.html
It works fine, the result is SETUP.EXE, that contains MSI internally. But it REQUIRES elevated privileges to run.
I have not found a way how to create ONE-FILE setup executable that can be installed WITHOUT elevated privileges.
Thanks for help.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…