+ Post New Thread
Results 1 to 13 of 13
Windows Thread, Deploy Software Through GP And MSI in Technical; Hi all, I am trying to send some software [dropped on my desk with very little notice] to stations on ...
  1. #1

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,310
    Thank Post
    331
    Thanked 1,192 Times in 814 Posts
    Blog Entries
    2
    Rep Power
    1065

    Deploy Software Through GP And MSI

    Hi all,

    I am trying to send some software [dropped on my desk with very little notice] to stations on the network. I am able to deploy ready made MSIs now without issue [hooray!]

    However I would like to be able to send this down using Group Policy as there is very little time and re-imaging the number of machines involved is not an option.

    I have used AppDeploy Repackager to capture the station changes when the application is installed [clean station with only AppDeploy Repackager and Sophos installed] when I send the new package to the stations I get these entries in the event log [attached]

    The MSI does install the application if double clicked and as I said I can deploy other MSIs. What do I need to do to get my "home made" MSI to go to my workstations?

    Many thanks.
    Attached Images Attached Images

  2. #2

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    9,881
    Thank Post
    1,316
    Thanked 1,738 Times in 1,087 Posts
    Blog Entries
    19
    Rep Power
    563
    Last time I had this was because of a permissions error in the folder containing the MSI and files, but that was 3 years ago ... possibly the same?

  3. #3

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,310
    Thank Post
    331
    Thanked 1,192 Times in 814 Posts
    Blog Entries
    2
    Rep Power
    1065
    Quote Originally Posted by GrumbleDook View Post
    Last time I had this was because of a permissions error in the folder containing the MSI and files, but that was 3 years ago ... possibly the same?
    Don't think so. I have just checked/compared the permissions for the folder where the MSI which is erroring with one that deploys OK and they are the same [but that is to be expected because they are inheriting their permissions from the folder above]

  4. #4

    Domino's Avatar
    Join Date
    Oct 2006
    Location
    Bromley
    Posts
    4,020
    Thank Post
    212
    Thanked 1,164 Times in 758 Posts
    Blog Entries
    4
    Rep Power
    481
    You need to set the folder to have 'domain computers' at read access at least, and also the gpo needs to be applyaple by domain computers.

    As this is executed before a user logs on.

    </repeating myself>

  5. #5

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    9,881
    Thank Post
    1,316
    Thanked 1,738 Times in 1,087 Posts
    Blog Entries
    19
    Rep Power
    563
    Try and force permissions on the containing folder. It was exactly the same for me and completely bizarre. The other option is that it is trying to replace a file on the local computer that it does not have permissions to replace.

  6. #6

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,144
    Thank Post
    113
    Thanked 518 Times in 447 Posts
    Blog Entries
    2
    Rep Power
    121
    Those error message don't look like permissions problems (error is generally "can't find file")

    Turn on installer logging - details here Windows Installer Logging at Registry Guide for Windows and you'll get a logfile from the installer which should help

  7. #7

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,575
    Thank Post
    869
    Thanked 1,293 Times in 786 Posts
    Blog Entries
    1
    Rep Power
    436
    As a general tip never install AV software when capturing. When you capture the changes your AV software may have updated etc and it just causes more issues. Your package for example could have bundled a sophos IDE that was deployed during the capture which would/could break installs.

  8. #8

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,310
    Thank Post
    331
    Thanked 1,192 Times in 814 Posts
    Blog Entries
    2
    Rep Power
    1065
    Quote Originally Posted by ZeroHour View Post
    As a general tip never install AV software when capturing. When you capture the changes your AV software may have updated etc and it just causes more issues. Your package for example could have bundled a sophos IDE that was deployed during the capture which would/could break installs.
    I had thought of that and I was able to complete the package creation in between Sophos updates. No IDEs were included. However tomorrow I will recreate the MSI on a station without Sophos and see how that goes.

    Thanks.

  9. #9

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,310
    Thank Post
    331
    Thanked 1,192 Times in 814 Posts
    Blog Entries
    2
    Rep Power
    1065
    Quote Originally Posted by srochford View Post
    Those error message don't look like permissions problems (error is generally "can't find file")

    Turn on installer logging - details here Windows Installer Logging at Registry Guide for Windows and you'll get a logfile from the installer which should help
    Further to my last post on this thread I will also look into this. Hopefully one of these approaches will give me the answer I am looking for?

  10. #10

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,575
    Thank Post
    869
    Thanked 1,293 Times in 786 Posts
    Blog Entries
    1
    Rep Power
    436
    Quote Originally Posted by DaveP View Post
    I had thought of that and I was able to complete the package creation in between Sophos updates. No IDEs were included. However tomorrow I will recreate the MSI on a station without Sophos and see how that goes.

    Thanks.
    Yeh its more as a general rule tbh. I would probably double check there are no weird windows files in the msi either tbh.
    Do you know what installer the original installation used? e.g installshield?

  11. #11

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,310
    Thank Post
    331
    Thanked 1,192 Times in 814 Posts
    Blog Entries
    2
    Rep Power
    1065
    Ok looks like I have cracked it [sort of]

    Step one: Ditch AppDeploy Repackager

    Step two: Download and install WinInstall LE.

    Step three: Build package and deploy through Group Policy.

    I say 'sort of' at the start of the post because the finished package behaves oddly: It fails to deploy on first reboot and succeeds on the second [the deployed application does not require a reboot when installed manually] and even when the software is deployed at the station when the icon is double clicked it runs an install [first time run]

    However it works so I will leave it at that.

  12. #12
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,386
    Thank Post
    10
    Thanked 483 Times in 423 Posts
    Rep Power
    110
    FYI with Wininstall do not call your build machine "software"! This then replaces all the registry key names with software in with %machinename% and breaks everything.

    I did that in the past and wondered why all my packages never worked

  13. #13

    DaveP's Avatar
    Join Date
    Oct 2006
    Location
    Can't talk now: The mother-ship is calling!
    Posts
    8,310
    Thank Post
    331
    Thanked 1,192 Times in 814 Posts
    Blog Entries
    2
    Rep Power
    1065
    Quote Originally Posted by DMcCoy View Post
    FYI with Wininstall do not call your build machine "software"! This then replaces all the registry key names with software in with %machinename% and breaks everything.

    I did that in the past and wondered why all my packages never worked
    Thanks. I wasn't aware of that. Luckily I called my machine 'MSIBuild'

SHARE:
+ Post New Thread

Similar Threads

  1. Deploy AdminPak.MSI
    By DaveP in forum How do you do....it?
    Replies: 15
    Last Post: 7th October 2009, 08:17 AM
  2. Office 2007 Compatibility Pack Deploy using MSI
    By LOUD in forum Windows Server 2000/2003
    Replies: 4
    Last Post: 13th August 2009, 02:56 PM
  3. Cannot deploy any MSI's
    By sidewinder in forum Windows
    Replies: 12
    Last Post: 5th June 2008, 11:04 AM
  4. Deploy Software via GPO
    By ICTNUT in forum How do you do....it?
    Replies: 16
    Last Post: 4th July 2006, 04:09 PM
  5. How do you...deploy software?
    By tobyhughes in forum How do you do....it?
    Replies: 7
    Last Post: 18th June 2006, 06:53 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •