Jump to content

Recommended Posts

Posted (edited)

Ello!

 

I've just installed some Abacus software on the server. Is there a way for me to install the client bit on a client PC without physically having to go round each one to do it!?

 

Like some sort of script file or something, i can imagine it running during startup.... :o

Edited by Little-Miss
Posted

Hi L-Miss, do you have an msi for the install?

 

If so you can run the following script:

 

 

psexec \\compname1 -d msiexec /package \\sername\share\file.msi /passive

psexec \\compname1 -d msiexec /package \\sername\share\file.msi /passive

psexec \\compname1 -d msiexec /package \\sername\share\file.msi /passive

 

 

This will run the msi on the specified machine without displaying a GUI to the end user.

 

Attatched is PSEXEC that will need to go in your System32 Folder. Let me know if you need any more help!

 

D

psexec.zip

  • Thanks 1
Posted

If its an MSI then you can just deploy it through group policy, otherwise a startup script, or a remote one should work find.

 

For remotely running stuff have a look for psExec.

  • Thanks 1
Posted (edited)
No, its just a setup.exe is that a problem?

 

Shall look at the psExec now!

 

Or you could create an MSI in next to no time....

Edited by Hightower
Spelling errors
Posted

Hi,

 

If you run setup.exe, and while the files are being extracted, enter %temp% into run, then just sort by date order and in there somewhere will be the extracted msi, just copy it to a different location.

 

D

Posted

Me again....any more suggestions for simple people...

 

I got a folder full of scripts from predoccesor...cant help but think i can just stick the path in one of them and then the teachers can finish the rest, it wont kill them....but i suppose in the background would be better....

Posted
lol, ok imagine the first time you've done this (the only thing ive done is fiddle with the Printer script)....which way would you do it if you were me!

 

 

get a copy of installrite, and a copy of virtual PC ( both free)

 

install a clean copy of xp on your virtual pc,(assuming your network is still XP)

 

install installrite, follow the instructions to install your software and make anychanges you need to such as serial no. / path etc and create a snapshot,

 

you will be left with an exe that you can then run from the login script

 

i.e Start \\servername\sharename\myfirstsnapshot.exe

  • Thanks 1
Posted (edited)

Goto CMD

 

Run "setup.exe /?"

What does it give you? You are looking for a switch to allow you to run it silently; /s /silent /vs /verysilent etc (if setup.exe /? doesnt display anything just try the switches ive mentioned making sure you check if it is/has installed the program - use task manager and then double check the programs folder, make sure it works etc)

 

Once you've figured out the command just put it in a batch file and add it to the computer startup script.

 

Test it!!! Quite often installingt software like this doesnt work quite as you would expect; it may not add a shortcut to the all users startmenu etc...

Edited by Guest
Posted

Miss, send me the EXE zipped up and ill send you the msi back with a script to run :)

 

Ill run the setup.exe and while it is running navigate to %temp% and look for the most recently create folder/files. Look for an MSI (it might have a random name)

 

Then copy this msi to a new location, this will be the installer you can use to install silently.

 

D

Posted

Hi Dan, it would be brill if you could send me an example of a script...

 

Trying to make the MSI myself, running the setup.exe and navigate to temp....but dont see any MSI.....

Posted

Hey Miss,

 

Well when you have an MSI Installed the script you need to use is:

 

MSIEXEC /package \\servername\share\package.msi

 

Replace C:\package.msi with the name and location of the msi you wish to installed.

 

To install the MSI remotely, use a program PSEXEC PsTools to run the msi remotly, to do this use the script below, just enter your details.

 

PSEXEC \\compname MSIEXEC /package \\servername\share\package.msi

 

This will run the package on the specified machine.

 

D

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...