In order to be able to alter files in the windows programs folder, the user needs admin rights, since my application is usually not started with admin rights, i either have to prompt the user for one time rights or start the actual samp installer, which might be better anyways. i am not sure if that works though.
Roadmap
Step 1
I have tested the whole scenario using the official samp installer via command line.
I have executed the following:
.\installer.exe /S /D=Path
/S stands for silent installation and /D specified the target path. During installation all errors will be ignored.
Step 2
I have reimplemented the current installation logic, it is now possible to use .zip and `.exe`` (Official nullsoft installer).
Step 3
Remove all current installation candidates using zips.
In order to be able to alter files in the windows programs folder, the user needs admin rights, since my application is usually not started with admin rights, i either have to prompt the user for one time rights or start the actual samp installer, which might be better anyways. i am not sure if that works though.
Roadmap
Step 1
I have tested the whole scenario using the official samp installer via command line. I have executed the following:
/S
stands for silent installation and/D
specified the target path. During installation all errors will be ignored.Step 2
I have reimplemented the current installation logic, it is now possible to use
.zip
and `.exe`` (Official nullsoft installer).Step 3
Remove all current installation candidates using zips.