Hi Steve Steve Handy wrote: > Alright Leon and Jens it worked. Took a while, but we got it. Cool. I also > tried to rerun the script again it didn't reinstall it. Okay. The force > switch works. My faith has been restored.
And I will (again) have a look at the issue that FF did not re-install after manual removal of the package. However I just did exactly this 10 minutes ago. Removed OpenOffice, FireFox and some other programs manually via the control panel. Then invoked WPKG service again and all the programs got re-installed. My WPKG client config (using WPKG-Client-1.2.0.msi, final): <?xml version="1.0" encoding="UTF-8"?> <configuration> <file>\\software\RemInst\wpkg\wrapper.js</file> <path-user>DOMAIN\instadmin</path-user> <path-password>xxxxxxxx=</path-password> <exec-user>SYSTEM</exec-user> <exec-password></exec-password> <parameters>/synchronize</parameters> <silent>YES</silent> <pre-action></pre-action> <post-action></post-action> <show-GUI>NO</show-GUI> <logon-delay>0</logon-delay> <logon-message-1>Anwendungen und Einstellungen werden installiert.</logon-message-1> <logon-message-2>Bitte nicht neu starten oder ausschalten.</logon-message-2> <script-variable name="SOFTWARE">\\software\RemInst\software</script-variable> <script-variable name="SETTINGS">\\software\RemInst\settings</script-variable> <script-variable name="WPKG_PROFILE">autosetup</script-variable> <priority>normal</priority> <stop-service-after-done>YES</stop-service-after-done> <laptop-mode>YES</laptop-mode> <server-connecting-method>standard</server-connecting-method> <server-connecting-ip>software</server-connecting-ip> <server-connecting-timeout>3</server-connecting-timeout> <server-connecting-script-timeout>3</server-connecting-script-timeout> <server-connecting-script-file></server-connecting-script-file> </configuration> My Firefox XML: <?xml version="1.0" encoding="utf-8" ?> <packages> <package id='Firefox' name='Mozilla Firefox' revision='20013' priority='50' reboot='false' > <!-- Mozilla Firefox Webbrowser --> <check type='uninstall' condition='exists' path='Mozilla Firefox (2.0.0.13)' /> <install cmd='"%SOFTWARE%\software.free\Firefox v.2.0.0.13\unattended.cmd"' /> <remove cmd='"%SOFTWARE%\software.free\Firefox v.2.0.0.13\unattended-uninstall.cmd"' /> <upgrade cmd='"%SOFTWARE%\software.free\Firefox v.2.0.0.13\unattended.cmd"' /> </package> </packages> The unattended*.cmd scripts do nothing different than installing FF silently: unattended.cmd: @echo off set BINARY=Firefox Setup 2.0.0.12 de.exe set INSTALL_LOC=%~dp0 set PROG_FILES=%ProgramFiles% if not "%ProgramFiles(x86)%" == "" set PROG_FILES=%ProgramFiles(x86)% set EXIT_CODE=0 echo Installing Mozilla FireFox start /wait "Firefox" "%INSTALL_LOC%%BINARY%" /S EXIT_CODE=%ERRORLEVEL% echo Setting default browser start /wait "Firefox defaults" "%PROG_FILES%\Mozilla Firefox\firefox.exe" -silent -nosplash -setDefaultBrowser REM Cleanup call "%INSTALL_LOC%cleanup.cmd" exit /B %EXIT_CODE% unattended-uninstall.cmd: @echo off echo Removing Mozilla FireFox set PROG_FILES=%ProgramFiles% if not "%ProgramFiles(x86)%" == "" set PROG_FILES=%ProgramFiles(x86)% start /wait "Firefox" "%PROG_FILES%\Mozilla Firefox\uninstall\helper.exe" /S br, Rainer ------------------------------------------------------------------------- Do you use WPKG? Tell us how! >> http://wpkg.org/Testimonials _______________________________________________ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users