+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
Windows Thread, Using PSexec To Install in Technical; I'm using psexec, I am trying to install the adobe acrobat 7.05 .msi along with a .mst file as well. ...
  1. #1

    Join Date
    Oct 2005
    Location
    Corpus Christi Sports College
    Posts
    153
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Using PSexec To Install

    I'm using psexec, I am trying to install the adobe acrobat 7.05 .msi along with a .mst file as well. I have slipped down a bit and just tried to install using adobe setup .exe but so far I have been unable to achieve it. I have also tried this for the java.msi as well but I find that either the thing just fails or it takes a very long time and doesn't suceed in leaving any files in the target destination. (win 2000 server with xp and 2000 clients)

    So could someone out there please explain how to install acrobat and java or link me to a very good page.

    Also I've tried to install these using GPO and I got messages appearing on the load up screen saying installing Java/Acrobat/Flash but the files never appear on the local hard drive.

  2. #2
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,999
    Thank Post
    120
    Thanked 280 Times in 258 Posts
    Rep Power
    106

    Re: Using PSexec To Install

    Do they successfully install if you do it manually if you go to a workstation?

  3. #3
    browolf's Avatar
    Join Date
    Jun 2005
    Location
    Mars
    Posts
    1,524
    Thank Post
    106
    Thanked 88 Times in 74 Posts
    Blog Entries
    46
    Rep Power
    40

    Re: Using PSexec To Install

    i once remotely installed acrobat using a dos prog that enabled me to remotely create scheduled tasks that ran under admin credentials. i got this cunning idea from gfi languard as thats how it appeared to remotely install updates. i dont remember the name of the dos prog except it was probably on
    a res kit. had to work out a silent install command line but worked great.

    also acrobat had some wierd wrapper that has to extract but if you run it but dont do anything you can find the extracted install files in your temp directory and then use them instead.

  4. #4
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Using PSexec To Install

    Acrobat and Java are ideal candidates for GPO installation (as both are MSI based). When you tried this method, did you check the event logs for errors (on the workstations). If you got a message like 'installation source not available', it's possibly to do with the permissions on your central installation share point. You need to give 'authenticated users' RX permissions to all the folders and files that will be accessed during the install (including any parent folders up to and including the folder that is actually shared).

  5. #5

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Using PSexec To Install

    The GPMC can often explain why an MSI package isn't deploying correctly. Do a GP Results session on the affected machine/user and see what it throws up.

  6. #6

    Join Date
    Oct 2005
    Location
    Corpus Christi Sports College
    Posts
    153
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Using PSexec To Install

    it was the authenticated users permissions causing the problems, typical afternoon wasted because of a little issue like that...

    Anyways I'll change the subject of the thread a bit and ask if I want to uninstall the versions of acrobat and java that were already on the PC before the MSI's were installed (installed manually) how would I go about removing them with psexec ? it seems the best bet

  7. #7
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Using PSexec To Install

    Are the older versions actually causing a problem?

  8. #8

    Join Date
    Oct 2005
    Location
    Corpus Christi Sports College
    Posts
    153
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Using PSexec To Install

    No problem as such, apart from each version of java taking up somewhere between 100-150mb of hard disk space.

  9. #9

    Join Date
    Nov 2005
    Location
    Preston, Lancs
    Posts
    43
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Using PSexec To Install

    Is it failing to work on all your workstations or just certain ones?

  10. #10
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Using PSexec To Install

    If the original had also been deployed using Group Policy, you could have deployed the new version and marked it as 'upgrading' the old version. The old version would then have been removed automatically. You could try the following, but I've no idea if it would work...

    1 - Load the old & new version of the app onto your distribution point
    2 - Allocate the old version of the app with GP
    3 - Allocate the new version of the app with GP and indicate that it upgrades the older version.

    If you are lucky, GP might convert existing installations of the old version to 'managed' versions then upgrade them to the new versions. I would strongly suggest that you test this theory before trying it for real!

    Another option would be to use something like WPKG to remove the old versions prior to installing the new ones. Again, I have never tried this, but WPKG looks quite flexible. I just don't know if it could uninstall something that it did not install in the first place.

    Final possibility is to script it. As the installation is a Windows Installer one, it would be possible to remove it by issuing the following command;

    msiexec /x {product code}

    You can determine the product code of the old version of the app either by looking it up in the PROPERTY table of the MSI itself (use ORCA to load it), or by looking in the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Installer\UserData\S-1-5-18\Products
    again, test, test, test!

  11. #11

    Join Date
    Oct 2005
    Location
    Corpus Christi Sports College
    Posts
    153
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Using PSexec To Install

    I have achieved the uninstalls with a psexec script to remove old .msi files

    However. I was wondering how I could alter my script to:
    a) not run if a user is logged onto the computer
    b) keep a log of any failures or errors because at the moment I get no feedback.

    This is my current script
    psexec @"D:\scripts\lists\it18.txt" -s -d cmd /c msiexec /x beab52ab-833e-4f86-083e-8752bbb00015 /quiet /norestart

  12. #12
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,999
    Thank Post
    120
    Thanked 280 Times in 258 Posts
    Rep Power
    106

    Re: Using PSexec To Install

    You could just check the username to see if its blank.

    In VBscript

    Code:
    Set WshNetwork = WScript.CreateObject("WScript.Network")
    strUserName = WshNetwork.UserName
    if strUserName = "" 'nobody is logged on
    ' run your program
    end if
    Put this in some kind of time delayed loop. All code untested!!!

  13. #13
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Using PSexec To Install

    @ChrisH:

    But surely the script would execute under the context of the remote user if executed by PSTOOLS, which would mean that UserName would return a non-null value....?

  14. #14
    ajbritton's Avatar
    Join Date
    Jul 2005
    Location
    Wandsworth
    Posts
    1,632
    Thank Post
    23
    Thanked 75 Times in 45 Posts
    Rep Power
    34

    Re: Using PSexec To Install

    Why not run the uninstall script as a computer startup script. That way it would execute when nobody was logged on.

  15. #15
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    4,999
    Thank Post
    120
    Thanked 280 Times in 258 Posts
    Rep Power
    106

    Re: Using PSexec To Install

    Thats a good point ops: Im sure i saw a little executable somewhere that could do this task to a remote computer. You can apparently get username from netbios as well with nbtstat I read. Uninstalling on bootup is probably the most sensible approach though.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. FMS Install
    By Craig_W in forum MIS Systems
    Replies: 27
    Last Post: 22nd May 2008, 03:31 PM
  2. Install guides
    By GrumbleDook in forum Educational Software
    Replies: 0
    Last Post: 5th October 2007, 10:01 AM
  3. Sky Install
    By russdev in forum General Chat
    Replies: 6
    Last Post: 23rd August 2007, 11:55 AM
  4. Install of LNM Servers.
    By tosca925 in forum Learning Network Manager
    Replies: 12
    Last Post: 20th December 2006, 12:02 PM
  5. ISA 2004 SP2 - DO NOT INSTALL!!
    By ZeroHour in forum Windows
    Replies: 6
    Last Post: 11th April 2006, 06:26 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
  •