Link to home
Start Free TrialLog in
Avatar of AisinAuto
AisinAuto

asked on

Deploy Windows Installer 4.5 through GPO

I want to deploy windows installer 4.5 to certain users by using gpo.  I went to microsoft and downloaded the file from this link: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=5a58b56f-60b6-4412-95b9-54d056d6f9f4.  I downloaded the file called: WindowsXP-KB942288-v3-x86.exe
This is supposed to be the redistributable version but it is in .exe format.  I tried adding -d at the end of the file to extract it but to no avail.  Can anyone tell me how to make this a .msi file so I can deploy it?  Also I need to deploy directx 9.0c the same way.  Any help on this would be greatly appreciated.
Avatar of Mike Thomas
Mike Thomas
Flag of United Kingdom of Great Britain and Northern Ireland image

try to run the .exe from the command prompt adding /extract switch
Avatar of Don
For the 4.5 you can use a Startup script(.bat) with the line:
 
start \\server\share\WindowsXP-KB942288-v3-x86.exe  /quiet /norestart
 
 
Avatar of AisinAuto
AisinAuto

ASKER

Well that did extract the files but still no .msi stuck in there.  Any more ideas?
Let me try the script file and get back with you.
Bugger, I always got .msi file from ms when extracting, you could possibly try installing the download or extracted file to an admin install point with the /a switch.

If your still stuck on this after the weekend I can have a tinker and see what I can work out, the batch file should do i though but i never did like them for deploying apps.

Just another thing though do you not use WSUS at your site? and can this update not be deployed using that? and also you should add it to your base build.


Ok I created the script file and tested this.  It shows something trying to run but does not install.  I added "pause" at the end and the script now says "UNC paths are not supported.  Defaulting to Windows directory"
With the "pause" added now the script is trying to launch the program as:
C:\Windows\start\\servername\blah blah
I can manually browse to the script that I created and run it and the install works fine.  This just will not push out on bootup.  Any more ideas?
Ok try just tested this way
 
"\\server\share\WindowsXP-KB942288-v3-x86.exe"  /quiet /norestart
ASKER CERTIFIED SOLUTION
Avatar of Don
Don
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Well that looks good but a programmer I am not so forgive my ignorance here but I need to know 2 more things.
1. How do I even create a .vbs file..aka what program do i need to download
2. How do I deploy a .vbs.  Never have done one of those before.
I am really starting to try and do more software through gpo but I am still very green in this area.
Thanks.
You can use a text editor and rename the extension .vbs  you can deploy it using group policy as part of a login script.
yes, just save the text into notepad and save as installer4_5.vbs then deploy the same way as a .bat
Ok I did all of this and it seems to be working but I really can't tell and the event viewer doesn't say anything about it.  Is there a way to make this say failed or successful on the install?  Thanks again for the help on this guys.
It will show up in "System" as "information"
 

Event Type: Information
Event Source: NtServicePack
Event Category: None
Event ID: 4377
Date:  3/22/2010
Time:  3:17:51 PM
User:  XXXXXX
Computer: XXXXXX
Description:
Windows XP Hotfix KB942288-v3 was installed.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

You are the man.  It shows up as being installed.  Do you know if logon scripts fire before software deployments in gpo?  This needs to run before the software install runs.  I will award you the points shortly.
Found out about the order and of course it is backwards.  I will just create a second gpo to do the software install since only a few people need this software.  Thanks again for the help on this.
Very good info and it worked great.
I have mixed Win 7 and Win XP clients. Out of interest, would this try and run each time on the Win 7 clients (where this is not required) or is there a section I could add to the VBS file to make this bypass on Win 7 machines?
@CommodoreS

You need to open a question, no freebees.
What do you mean no freebies? I am paying a alot of money each month to use this site and this is a valid question.
Sorry, I mean this is an already closed question...you must open up a new one. We get rewarded when answering questions with points. Since this question has already been PAQ'd, Answering your question here would then be a freebie...That's all I meant.