-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nonadmin installation #297
Comments
This is possible, but not directly supported with a Command Line Interface (CLI) option or flag. A cargo-wix/src/templates/main.wxs.mustache Line 91 in 590bc2b
I am not sure about the exact variable to use to replace
This cargo command is not actually generating the MSIs. It is using the WiX Toolset v3, and the subcommand is simply creating the configuration files for the WiX Toolset v3 based on a project's Cargo manifest and runs the compiler and linker applications. Thus, anything the WiX Toolset v3 can do, can be done with this tool through the WXS files. The WiX Toolset v3 documentation is pretty extensive. A quick review of the references and WiX Toolset v3 documentation seems to indicate the <Directory Id='PersonalFolder' Name='PFiles'> You only have to do this once after creating the WXS file. According to WiX Toolset's best practices, the WXS files should be treated like source code and added to version control. |
Hi Christopher, Thanks for looking into this. And sorry it has taken a while for me to get to this (had a much needed break from work!). I changed the Directory Id to PersonalFolder, but get some errors from light:
Any clues? Cheers Matt |
In the template file, The registry keys also need to be updated. The Interesting because the WiX compiler finished successfully? Was a MSI created? References: |
Yes, good spotting, it did make an msi. I progressively removed stuff from that main.wxs until there was no files or license or keys to install. Unfortunately the installer still required admin privileges. I think I'm going to have to think of another way to distribute this. Cheers, thanks for your help. |
Probably one other missing change: https://stackoverflow.com/a/14358274. The |
Would it be possible to add functionality so the MSI allows unprivileged non-admin installation into a users home folder?
The text was updated successfully, but these errors were encountered: