Link to home
Start Free TrialLog in
Avatar of MartynLawson
MartynLawson

asked on

Logon script to install hotfix

I'm currently trying to create a login script that installs an MSP file on users machines. I have created a script to install the application and it appears to work locally without any issues, but when I try and add the script into the users AD profile it tells me that there is a problem with the installer package. I think the problem is with where the hotfix is stored on the server, so I would like to incorporate a copy function into the script that would copy the file to the local machine before running the script

Does anyone have any suggestions on how I might do this?
Avatar of n2fc
n2fc
Flag of United States of America image

why not just add"
copy [msp file]  %TEMP%

and then run from that location?
Are you sure it is the location of the MSP and not administrator authorization that is at issue?

See:
http://msdn.microsoft.com/en-us/library/aa372388(v=VS.85).aspx
ASKER CERTIFIED SOLUTION
Avatar of kevinhsieh
kevinhsieh
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
Avatar of MartynLawson
MartynLawson

ASKER

Thanks for the suggestion. This worked great