Difference between revisions of "FlashShock"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
m
Line 18: Line 18:
 
</package>   
 
</package>   
 
</source>
 
</source>
 +
  
 
'''uninstall.bat'''
 
'''uninstall.bat'''

Revision as of 11:11, 9 February 2011

I found this file on Macromedias website. It includes both Flash7 and Shock10.

<package
  id="flashshock"
  name="Macromedia Flash and Shockwave"
  revision="1"
  reboot="false"
  priority="10">
  <check type="uninstall" condition="exists" path="Macromedia Shockwave Player" />
  <install cmd='msiexec /qb /i %SOFTWARE%\flashshock\mm_fl_sw_installer.msi'>
    <exit code="0" />
  </install>
  <upgrade cmd='msiexec /qb /i %SOFTWARE%\flashshock\mm_fl_sw_installer.msi'>
    <exit code="0" />
  </upgrade>
  <remove cmd='%SOFTWARE%\flashshock\uninstall.bat' />
</package>


uninstall.bat

MsiExec.exe /X{7D1D6A24-65D4-454C-8815-4F08A5FFF12C} /qb
%SOFTWARE%\files\reg del HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7D1D6A24-65D4-454C-8815-4F08A5FFF12C} /force 

I got the reg.exe file from the win2k resource tools. It works great. Otherwise without this it fails the install check.