complete installation on client end - Advanced Installer Community

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!

sman26
Posts: 6
Joined: Tue Jun 01, 2010 9:39 pm

complete installation on client end

Hello.

I am creating an MSI package of (firefox Setup 3.6.3.exe) for instance to push out to a few clients through a GPO. I have turned the exe into an msi package using the Professional template in Advanced Installer and loaded it up on a network share and pushed it out to the Computers in the OU. When they restart the PC, before login, they get the message that Package 1 or 1 firefox is installing. When they get to the desktop there is a firefox setup 3.6.3.exe package waiting on their desktop.

I was hoping to accomplish 2 things.

1) Have Firefox already be installed by the time they get to the desktop so they don't have to double click on this new shortcut on their desktop to complete the firefox install themselves.

2) These are just standard users so even with this package ready to be installed on their desktop, they can't because they don't have sufficient permissions.

What steps might I be missing during the msi creation process to make this installation more SILENT MODE and be fully installed for them. Is there a way without too much difficulty?

Thank you for any assistance.
Shawn
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: complete installation on client end

Hi Shawn and welcome to Advanced Installer forums,

You might have forgotten to configure your package to actually launch the wrapped exe firefox installer (in silent mode).
The following thread discusses creating an MSI wrapper over an already existing EXE installer.
http://www.advancedinstaller.com/forums ... f=2&t=8835

I hope it helps.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
sman26
Posts: 6
Joined: Tue Jun 01, 2010 9:39 pm

Re: complete installation on client end

Thanks Gabriel. I think I was able to package the firefox.exe file into an msi properly but I am not sure where in the Advanced Installer can I tell it to run the msi once the GPO pushes it to the client's PC?
Can this be done using the SIMPLE Template or does a PROFESSIONAL template have to be used.
Is it a setting under INSTALL PARAMETERS section or if using PROFESSIONAL template I have the CUSTOM BEHAVIOR section with CUSTOM ACTIONS which is mentioned in the link you sent prior. I'm not exactly sure what under CUSTOM ACTIONS I need to choose to tell it to run the the msi that was pushed out through GPO w/o the client's interaction. I don't know a lot about coding and was hoping I could just choose like an "Install packaged msi to client's PC" button.
Would you have a little more direction for me?
Thanks,
Shawn
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: complete installation on client end

Hi Shawn,

Yes, you will need a custom action for this, meaning you have to use at least a Professional project.
No coding skills needed, all you need to do is consult our user guide, it explains all the terms in detail. Try understanding a bit what custom actions are and how they work. They are an essential part for customizing an installer, which is what you want to achieve right now.

Review the thread I posted and consult our user guide for any unknown terms encountered there. You can always use search to easily find what you need.

Should there be any things that need clarified do not hesitate to post here and I will do my best to explain them.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
sman26
Posts: 6
Joined: Tue Jun 01, 2010 9:39 pm

Re: complete installation on client end

Gabriel,

I really appreciate all our help. I apologize but I am just not understanding everything in the Custom Actions portion. Just to reiterate my steps so far:
New Project > Professional Wizard > walk thru wizard (point to firefox.exe I have on local pc > choose "create shortcut on desktop option") > click finish w/o building project yet.
Adjust INSTALL PARAMETERS > Per Machine Only

Up to this point I have BUILT the package before out to an MSI file, put on Network share and pushed out through a GPO computer policy I Assigned. If I was to double click on the MSI package at this point in the network share, an Advanced Installer install wizard will come up which is a good sign the package was build sound.
The client PC now, after a reboot, gets the firefox.exe shortcut on their desktop which points to C:\program files\firefox\firefox setup.exe. I can double click on this and it takes off with firefox's installation wizard.

So...I tried to read up on the CUSTOM ACTIONS portion in the User Guide etc. I wish I could say I felt confident in what I as doing but I didn't. So I went back and before clicking BUILD, I went to Custom Actions and tried to add more so the installation would take place on the Client PC and so the client wouldn't have to run through firefox's wizard themselves.
I right clicked on INSTALL > NEW INSTALLED CUSTOM ACTION > again I point to the firefox.exe > ok. (this is the only thing I know to point to)
I have synchronous execution, immediate execution and always execute clicked.
Is this what advanced installer needs to know to run through the Firefox.exe install wizard and automatically hit next, next, next, finish?
I build this and push it out again but still does not complete the setup for me.
I think if I could just get a few RT CLICK THIS > then CLICK THIS > then THIS steps from you for my exact needs it would be such a great help if this last step I need to get the package actually installed and not just sitting on in the client's c:\program files\firefox folder.

Thank again very much
shawn
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: complete installation on client end

Hi Shawn,
Is this what advanced installer needs to know to run through the Firefox.exe install wizard and automatically hit next, next, next, finish?
You are almost there. You've set up a custom action to launch the firefox setup, however it will install with full user interface as you mentioned (I am assuming currently the setup is launching automatically, but with full user interface, right?). What you want and need is a silent install (unattended install). Different setups have different command line switches to instruct them to install silently. I googled a bit and found that firefox needs you to pass " -ms -ma" as command line switches to the setup for it to install unattended. Place them in the command line fields of your custom action.

One more thing, you have created a shortcut for firefox in your own installer. However the shortcut is pointing to the installer itself. I assume you want it to point to the installed firefox executable, not the installer. I believe the shortcut you are creating is not needed, as firefox itself installs its own shortcuts.

I hope this helps.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
sman26
Posts: 6
Joined: Tue Jun 01, 2010 9:39 pm

Re: complete installation on client end

Gabriel,

Thanks again for all your help with this matter. Placing those lines in the command line portion made all the difference. Performed a silent install just fine. So I suppose no matter what kind of EXE you package into an MSI file whether is be 7zip or winamp or quicktime...you need to find the specific command line code per each product to see how you would silent install them and then place that in the CUSTOM ACTIONS?

Take care.
Shawn
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: complete installation on client end

Hello,

That is correct, Shawn. The command line switches for silent installs depend entirely on that installer's author and authoring tool.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
sman26
Posts: 6
Joined: Tue Jun 01, 2010 9:39 pm

Re: complete installation on client end

One final thought, and this may not be tied into the Advanced Installer but GPO, but does it matter if the client who I send the MSI package to is only a USER and not a POWER USER OR ADMINISTRATOR? I know USERS can not install applications because they don't have the rights but maybe that is different if they have the Package ASSIGNED to them and silently installed.

Thanks again for your help with this great product.
Shawn
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: complete installation on client end

Hi Shawn,

If the package is assigned per-machine then it will be installed using the SYSTEM account. If it is per-user then your package will need to be designed such a way that it will not require admin rights to install: files should be installed in user specific locations (eg. AppData), registries under HKEY_CURRENT_USER and so on.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
sman26
Posts: 6
Joined: Tue Jun 01, 2010 9:39 pm

Re: complete installation on client end

Thanks again!

Return to “Common Problems”