user1244772
user1244772

Reputation: 294

vb.net Application Installer (msi) Run as admin

Is it possible for a vb.net Application Windows Installer (msi) to Run as admin? The problem is that when I start the installer for my application, you have to go through loads and click next( as expected) and then wait for ages and FINALLY you get asked for admin rights to carry on the install..

Is there anyway to run the installer at the beginning as admin so it installs faster or is there any other ways to speed up installation speed?

Thanks

Upvotes: 0

Views: 705

Answers (1)

Christopher Painter
Christopher Painter

Reputation: 55571

How big is the MSI? Usually if it takes a lot of time that's an indication that it's big ( hundreds of megabytes ) and windows is choking doing all of it's security checks.

Otherwise, it's functioning as designed. It's not a best practice to elevate the UI sequence. It can be done with a bootstrapper EXE that's manifested to require administrator but it's hard to tell you how to do that since you didn't mention what tool you are using to author the MSI.

Upvotes: 1

Related Questions