- This topic is empty.
-
AuthorPosts
-
September 23, 2008 at 12:56 am #1472
Hi Guys,
I have got two packages – exe and msi and want to deploy it on all Wyse units. Do i need to copy the packages first on the Wyse and then execute it?
Can someone please help with a sample script to deploy these two packages?
Thanks.
September 23, 2008 at 6:48 am #13955Hi,
yes, you have to push the files to the client, execute them and delete afterwards.
As installer packages quite often extract themselves while installing I would recommend to push the extracted files to the clients instead of the exe or msi file. This saves rare flash memory. But this depends on the installer routines, of course.
A sample scripte yould look like:[Version]
Number=myScript
Description=Installer demo script
OS=XP
Category=XPe Add-Ons[Script]
;Lock user
LU*
;Xcopy all files in your package to drive C of the client
XC “*” “C:”
;optional merge some registry files if needed
MR “Reg_filesregistry_all.reg”
;Execute both setup files
EX “C:setup.msi”
EX “C:setup.exe”
;delete the setup files
DF “C:Setup.msi”
DF “C:Setup.exe”
;end lockout of user
EL*
;maybe a reboot has to follow
RBSeptember 23, 2008 at 11:53 pm #13958Thanks CG.
October 1, 2008 at 3:34 am #14039Hi CG,
I tried the script to install the package and it is working all good except for one small issue – when the script is pushed from Rapport to the Wyse, update now screen appears on Wyse and when you hit update now as usual you get the screen “Updating…Do not shutdown” etc etc.
But what happens is, the above screen disappears in 5 secs and then you see the desktop and at this stage the exe actually runs and installs the program (exe which is copied from the script to the wyse locally).
I never had this issue before – usually the script should run in the background and the user should only see the blue updating screen till it finishes installing the program and then reboot.
Can you please help how do i fix this?
Thanks.
October 2, 2008 at 7:12 am #14045Looks like the problem is that the installer was started by the rsp script and WDM gors further to the next command, eg EL. But at this time the installer is not finished. Maybe you should copy a batch file to the client and execute this instead of directly the installer. Or use a LP “30” command to do a 30 seconds (or more) loop.
CG
October 2, 2008 at 11:15 pm #14057Thanks CG. I am using LP command in the script and it is all fixed now.
Thanks.
-
AuthorPosts
- You must be logged in to reply to this topic.