We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

MichaelH
Posts: 1
Joined: Wed Aug 26, 2015 1:12 pm

Msi with admin rights, user defined vbs cript

Hallo Advanced Installer Team,
i tried to build a msi package wich included different msi files. They msi files have to lunch as admin. The finish execution start a vbs script wich uses the current logged on user. I tried a message box in the vbs script it shows the current user the administrator, not the current log on user.

How can I create a msi package wich start with admin rights, but launch the vbs script as current user?

Thanks for your support
Michael
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Msi with admin rights, user defined vbs cript

Hi Michael and welcome to Advanced Installer,

I'm afraid that you cannot start a non elevated task from an elevated one.
You can also take a look on the How to start process after install, as ordinary user? forum thread which debates a similar subject.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”