running msi from within packaged file with elevated rights
Posted: Tue Oct 01, 2013 10:47 am
Most likely I will have a dooogh moment the second someone can answer this for me, but here it goes anyway.......
I have a corrupted msi installation, so I want to create a packaged file which allows me to do the following
uninstall the existing prg and re-install again
MsiExec.exe /X{Drw8F69F-54A2-4280-AwrD-3E985E3wrFD9} /q
MsiExec.exe /i "C:\Temp\Filename.msi" /qn
gpupdate
I run it in cmd as only the CMD (run as admin) and it works fine
If I run it fom the packaged file it barks
setup as follows
from command line 32 bit
Powershell v2
Run as specified user : domain user with admin rights to the PC
So when I start the executable it opens a cmd prompt and the presents me with the msi help box
Windows ® Installer. V 5.0.7601.17514
msiexec /Option <Required Parameter> [Optional Parameter]
That is all it does, could someone please let me know what I am missing < i know it is realy easy
Thank you in advance
I have a corrupted msi installation, so I want to create a packaged file which allows me to do the following
uninstall the existing prg and re-install again
MsiExec.exe /X{Drw8F69F-54A2-4280-AwrD-3E985E3wrFD9} /q
MsiExec.exe /i "C:\Temp\Filename.msi" /qn
gpupdate
I run it in cmd as only the CMD (run as admin) and it works fine
If I run it fom the packaged file it barks
setup as follows
from command line 32 bit
Powershell v2
Run as specified user : domain user with admin rights to the PC
So when I start the executable it opens a cmd prompt and the presents me with the msi help box
Windows ® Installer. V 5.0.7601.17514
msiexec /Option <Required Parameter> [Optional Parameter]
That is all it does, could someone please let me know what I am missing < i know it is realy easy
Thank you in advance