vbscript privilege ????
Hi everyone, i try to kill some process before uninstall one msi.
I don't understand why it doesn't work, i start trought this uninstall from a run as, so normaly the vbscript in custom action must be also start with the same credential as the run as for the msi.
It works fine for removing files, giving permissions ... but not for killing user's process -> Access denied !.
It's the same for installation of printer driver; the vbscript doesn't keep the admin rights. When i start manually this one through the same runs as (not in the msi) all works fine, but not inside one MSI. I work with Wise Studio.
Is anybody can help me or confirm that is a bug in msi structure or from Wise ?
Big thanks...
Gerard
I don't understand why it doesn't work, i start trought this uninstall from a run as, so normaly the vbscript in custom action must be also start with the same credential as the run as for the msi.
It works fine for removing files, giving permissions ... but not for killing user's process -> Access denied !.
It's the same for installation of printer driver; the vbscript doesn't keep the admin rights. When i start manually this one through the same runs as (not in the msi) all works fine, but not inside one MSI. I work with Wise Studio.
Is anybody can help me or confirm that is a bug in msi structure or from Wise ?
Big thanks...
Gerard
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
sean_c_roberts
20 years ago
Posted by:
Fisa
20 years ago
Posted by:
gvlaarho
20 years ago
Hi sean_c_roberts
Big Thanks for your tips !
It's works fine now.
For Kill.exe, it's the same problem, access denied but in deffered action, no problem.
Just a little question:
why it's doesn't work in immediate action, i can delete all files anywhere, but can't stop a process? strange, it's like some parts of a vbscript are executed with runas credentials and other not .....
So once again Big thanks !
Big Thanks for your tips !
It's works fine now.
For Kill.exe, it's the same problem, access denied but in deffered action, no problem.
Just a little question:
why it's doesn't work in immediate action, i can delete all files anywhere, but can't stop a process? strange, it's like some parts of a vbscript are executed with runas credentials and other not .....
So once again Big thanks !
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.