Shockwave deployment questions
With the release of Shockwave 11.5.9.615 today, I have to start planning a deployment to all our users via SMS. This will be my first deployment of Shockwave and I am having some trouble on how to deal with clients with older versions installed. I have a mix of many versions of 10.x and 11.x and also many older versions like 8, etc. These are all exe based installs but the new one I will be installing will be the .msi version.
One big problem I have is that unlike Adobe Flash Player, I cannot find archived versions of the Shockwave Player (Adobe maintains an archive for Adobe Flash player). This makes it very difficult for me to test in advance of distributing this to all users.
I have created the below rough batch file that I intend to use for deploying via SMS and would like some feedback on it if possible:
------------------------------------------------------
@ECHO OFF
echo *** Adobe Shockwave Player updating ***
echo *** Do not close this windows ***
REM ::: Stop Internet Explorer prcoesses prior to uninstall/installing Shockwave.
taskkill /F /IM iexplore.exe
:CHECK8
if exist "C:\WINDOWS\system32\Macromed\Shockwave 8\UNWISE.EXE" goto UNINSTALL_8
GOTO CHECK_10
:UNINSTALL_8
REM ::: Silent Shockwave 8 uninstaller
start "C:\Windows\System32\Macromed\Shockwave 8\UNWISE.EXE /S C:\Windows\System32\Macromed\Shockwave 8\Install.log /Z"
GOTO CHECK_10
:CHECK10
if exist "C:\WINDOWS\system32\Macromed\Shockwave 10\UNWISE.EXE" goto UNINSTALL_10
GOTO CHECK_11
:UNINSTALL_10
REM ::: Silent Shockwave 10 uninstaller
start "C:\Windows\System32\Macromed\Shockwave 10\UNWISE.EXE /S C:\Windows\System32\Macromed\Shockwave 10\Install.log /Z"
GOTO CHECK_11
:CHECK_11
if exist "C:\WINDOWS\system32\Adobe\Shockwave 11\SwInit.exe" goto UNINSTALL_11
GOTO INSTALLER
:UNINSTALL_11
REM ::: Silent Shockwave 11 uninstaller
sw_uninstaller.exe /S
GOTO INSTALLER
:INSTALLER
REM ::: Install of Adobe Shockwave with progress bar (no cancel, no restart)
sw_lic_full_installer.msi /qb-! /norestart
:REGISTRY
REM ::: Registry key additions to disable stats collecting and autoupdate
REG ADD "HKLM\SOFTWARE\Adobe\Shockwave 11\AutoUpdate" /ve /t REG_SZ /f /d n
REG ADD "HKLM\SOFTWARE\Adobe\Shockwave 11\collectstats" /ve /t REG_SZ /f /d n
:END
EXIT
------------------------------------------------------
I am not sure yet if I will add the registry keys via the batch or if I will use an MST file yet. Appreciate any feedback/advice on the above and how I might get a hold of archived versions of the Shockwave Player (versions 8~10, etc)? Thanks very much.
One big problem I have is that unlike Adobe Flash Player, I cannot find archived versions of the Shockwave Player (Adobe maintains an archive for Adobe Flash player). This makes it very difficult for me to test in advance of distributing this to all users.
I have created the below rough batch file that I intend to use for deploying via SMS and would like some feedback on it if possible:
------------------------------------------------------
echo *** Do not close this windows ***
REM ::: Stop Internet Explorer prcoesses prior to uninstall/installing Shockwave.
taskkill /F /IM iexplore.exe
:CHECK8
if exist "C:\WINDOWS\system32\Macromed\Shockwave 8\UNWISE.EXE" goto UNINSTALL_8
GOTO CHECK_10
:UNINSTALL_8
REM ::: Silent Shockwave 8 uninstaller
start "C:\Windows\System32\Macromed\Shockwave 8\UNWISE.EXE /S C:\Windows\System32\Macromed\Shockwave 8\Install.log /Z"
GOTO CHECK_10
:CHECK10
if exist "C:\WINDOWS\system32\Macromed\Shockwave 10\UNWISE.EXE" goto UNINSTALL_10
GOTO CHECK_11
:UNINSTALL_10
REM ::: Silent Shockwave 10 uninstaller
start "C:\Windows\System32\Macromed\Shockwave 10\UNWISE.EXE /S C:\Windows\System32\Macromed\Shockwave 10\Install.log /Z"
GOTO CHECK_11
:CHECK_11
if exist "C:\WINDOWS\system32\Adobe\Shockwave 11\SwInit.exe" goto UNINSTALL_11
GOTO INSTALLER
:UNINSTALL_11
REM ::: Silent Shockwave 11 uninstaller
sw_uninstaller.exe /S
GOTO INSTALLER
:INSTALLER
REM ::: Install of Adobe Shockwave with progress bar (no cancel, no restart)
sw_lic_full_installer.msi /qb-! /norestart
:REGISTRY
REM ::: Registry key additions to disable stats collecting and autoupdate
REG ADD "HKLM\SOFTWARE\Adobe\Shockwave 11\AutoUpdate" /ve /t REG_SZ /f /d n
REG ADD "HKLM\SOFTWARE\Adobe\Shockwave 11\collectstats" /ve /t REG_SZ /f /d n
:END
EXIT
I am not sure yet if I will add the registry keys via the batch or if I will use an MST file yet. Appreciate any feedback/advice on the above and how I might get a hold of archived versions of the Shockwave Player (versions 8~10, etc)? Thanks very much.
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
pjgeutjens
14 years ago
Steve,
while I'm not sure if this is the case for all older versions of Shockwave, the latest version we packaged here (11.5.7.609) is an msi-based installer.
It might therefore be a better idea to use Windows Installer data to check installation states (HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall) and more importantly to drive installation an uninstallation using msiexec /i or /x.
This would also allow you to add your extra registry keys to the installer using a transform, or maybe even built in properties in the installer.
Rgds,
PJ
while I'm not sure if this is the case for all older versions of Shockwave, the latest version we packaged here (11.5.7.609) is an msi-based installer.
It might therefore be a better idea to use Windows Installer data to check installation states (HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall) and more importantly to drive installation an uninstallation using msiexec /i or /x.
This would also allow you to add your extra registry keys to the installer using a transform, or maybe even built in properties in the installer.
Rgds,
PJ
Posted by:
dunnpy
14 years ago
This site - http://www.oldapps.com - has older versions of Shockwave Player, right back to 7.0.3.015 from Feb 2000.
It also has old versions of any popular application you can think of, Firefox 1..0.0 or Winzip 3.2 anyone?
Great for working out how upgrades are going to work with these older versions installed on your estate.
Hope that helps,
Dunnpy
It also has old versions of any popular application you can think of, Firefox 1..0.0 or Winzip 3.2 anyone?
Great for working out how upgrades are going to work with these older versions installed on your estate.
Hope that helps,
Dunnpy
Posted by:
ssway
14 years ago
Posted by:
ssway
14 years ago
Posted by:
dunnpy
14 years ago
Steve,
There is nothing you can do to UNWISE.EXE to prevent a reboot if it deems that it needs it - there are no switches to suppress it.
What you may have to do here is create an MSI to uninstall this version - you have the 'install.log' file so you know what the installation does, create your MSI to undo those changes.
The other option is to leave as is, and let your deployment tool manage the uninstallation task - maybe only set to run when there isn't anyone logged on to the workstation, so a reboot won't be affecting anybody.
Hope this helps,
Dunnpy
There is nothing you can do to UNWISE.EXE to prevent a reboot if it deems that it needs it - there are no switches to suppress it.
What you may have to do here is create an MSI to uninstall this version - you have the 'install.log' file so you know what the installation does, create your MSI to undo those changes.
The other option is to leave as is, and let your deployment tool manage the uninstallation task - maybe only set to run when there isn't anyone logged on to the workstation, so a reboot won't be affecting anybody.
Hope this helps,
Dunnpy
Posted by:
anonymous_9363
14 years ago
It might be better to post your question in the SCCM/SMS forum...
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.