Jump to content

Automate MSI Install > Wrap with Creds & Convert to Exe


Recommended Posts

Hello folks,

I'm new here and some guidance is appreciated!

What I'm looking to do:

1. Automate the installation process of an MSI - www.youtube.com/watch?v=MuOq6AOQ_gI&t=54s 

2. Wrap the MSI with Creds - www.autoitscript.com/forum/topic/167696-msi-file-as-administrator/

3. Convert the MSI into an EXE - No luck here...

 

I've done a fair bit of research but I'm having trouble putting it all together. Is there a place or guide that would help me here? 

Thanks! 

Link to comment
Share on other sites

the last item the OP mentioned, that can't be done with autoit, it's the packager (InstallShield/Wise/Inno, etc...)that can make a bootstrapped setup.exe all compressed into one. then if you do that, the silent install command is different. lol just use the msi and also install it's prerequisites (programs/software it depends on) first, then run the msi silent.

you might be able to use Orca to make a setup.exe all in one. All of our products rely on other off the shelf software so i use a setup.exe when i do the packaging using InstallShield, so it can install all the prereqs and then the main product suite.

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Link to comment
Share on other sites

Thank you...Bert, Subz & Earthshine. I'm going to walk the process in the coming days one by one, starting with automating the install. I'm literally starting at square one with AutoIT so it's going to take me some time to chew through the process. I'll keep you posted though...Vollatran looks interesting but maybe a bit advanced for my experience lvl.

etiquette question - I don't see a place for me to "accept this answer" or to "award points" on this thread. Am I missing something? 

Just want to give credit where it is due.

Thx - Newbie ;)

Link to comment
Share on other sites

1 hour ago, MinatorMash said:

Just want to give credit where it is due.

Move your mouse on the heart symbol of the post you would like to thank its author for. Then click 'Like' or 'Thanks'. It's located to the right below the contribution.

Edited by Musashi

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Link to comment
Share on other sites

Happy Friday ;)

I'm testing with both an EXE & MSI. When running both the below commands the UAC prompt comes up, I select yes, then nothing occurs. I would expect the setup window to appear but nothing...commands >>   

RunAsWait("Username", "Domain", "Password", 0, 'msiexe.exe "' & @ScriptDir & '\SuperPuttySetup-1.4.0.9.msi" /QB /NORESTART')

RunAsWait("Username", "Domain", "Password", 0, @ScriptDir & '\Wireshark-win64-3.0.0.exe')

 

If I run the below command the setup does appear - WireShark

#RequireAdmin
Run(@ScriptDir & '\Wireshark-win64-3.0.0.exe')
AutoItSetOption('MouseCoordMode',0)

 

Haven't been able to figure out the syntax to run the msi yet...messing around with >>

Run("msiexe.exe /i", & @ScriptDir & '\SuperPuttySetup-1.4.0.9.msi" /QB /NORESTART'

 

Thanks guys

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...