MSI installation problem as system
Published: September 5, 2023 - 10:14 AM
Hello,
I'm trying to create a package to deploy an MSI.
If I run a command prompt as administrator, my command line works perfectly.
If I'm in developer mode with PyScripter, my package works fine.
However, if I deploy the package to a machine, it doesn't work.
The only difference I've found is that in one case I'm running as administrator and in the other as system.
I tried using the `run_as_administrator` function, but it didn't change anything.
How can I force the installation as administrator without asking the user?
The MSI in question is: https://ltspice.analog.com/software/LTspice64.msi
Thank you
I'm trying to create a package to deploy an MSI.
If I run a command prompt as administrator, my command line works perfectly.
If I'm in developer mode with PyScripter, my package works fine.
However, if I deploy the package to a machine, it doesn't work.
The only difference I've found is that in one case I'm running as administrator and in the other as system.
I tried using the `run_as_administrator` function, but it didn't change anything.
How can I force the installation as administrator without asking the user?
The MSI in question is: https://ltspice.analog.com/software/LTspice64.msi
Thank you