Difference between revisions of "FlashShock"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
Line 8: Line 8:
 
   priority="10">
 
   priority="10">
 
   <check type="uninstall" condition="exists" path="Macromedia Shockwave Player" />
 
   <check type="uninstall" condition="exists" path="Macromedia Shockwave Player" />
   <install cmd='msiexec /qb /i \\server\wpkg\packages\flashshock\mm_fl_sw_installer.msi'>
+
   <install cmd='msiexec /qb /i %SOFTWARE%\flashshock\mm_fl_sw_installer.msi'>
 
     <exit code="0" />
 
     <exit code="0" />
 
   </install>
 
   </install>
   <upgrade cmd='msiexec /qb /i \\server\wpkg\packages\flashshock\mm_fl_sw_installer.msi'>
+
   <upgrade cmd='msiexec /qb /i %SOFTWARE%\flashshock\mm_fl_sw_installer.msi'>
 
     <exit code="0" />
 
     <exit code="0" />
 
   </upgrade>
 
   </upgrade>
   <remove cmd='\\server\wpkg\packages\flashshock\uninstall.bat' />
+
   <remove cmd='%SOFTWARE%\flashshock\uninstall.bat' />
 
  </package>   
 
  </package>   
  
 
'''uninstall.bat'''
 
'''uninstall.bat'''
 
  MsiExec.exe /X{7D1D6A24-65D4-454C-8815-4F08A5FFF12C} /qb
 
  MsiExec.exe /X{7D1D6A24-65D4-454C-8815-4F08A5FFF12C} /qb
  \\server\wpkg\files\reg del HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{7D1D6A24-65D4-454C-8815-4F08A5FFF12C} /force  
+
  %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.
 
i got the reg.exe file from the win2k resource tools. It works great. otherwise without this it fails the install check.
  
 
[[Category: Silent Installers]]
 
[[Category: Silent Installers]]

Revision as of 19:35, 2 October 2006

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.