Difference between revisions of "Nokia Ovi Suite"

From WPKG | Open Source Software Deployment and Distribution
Jump to: navigation, search
(Nokia Ovi Suite, for connecting to Nokia phones)
 
(added 64-bit compatibility and fixed hanging install action)
 
Line 11: Line 11:
 
*The auto update service appears to still run, despite attempts to disable it via switches
 
*The auto update service appears to still run, despite attempts to disable it via switches
  
As an alternative we can extract Nokia_Ovi_Suite_webinstaller_ALL.exe using 7zip or similar program, and install the MSIs for individual components (skipping the NSU package, which is the auto update component).
+
As an alternative we can extract Nokia_Ovi_Suite_webinstaller_ALL.exe (available from http://europe.nokia.com/support/product-support/nokia-ovi-suite/compatibility-and-download ) using 7zip or similar program, and install the MSIs for individual components (skipping the NSU package, which is the auto update component).
  
 
<source lang="xml">
 
<source lang="xml">
<package id="ovisuite" name="Nokia Ovi Suite" revision="1" priority="10" reboot="false">
+
<?xml version="1.0" encoding="UTF-8"?>
        <check type="uninstall" condition="exists" path="Nokia Ovi Suite" />
+
<packages:packages
        <install cmd='"%SOFTWARE%\utilities\ovisuite\installer\CommonCustomActions\pcswpc.exe"' /> <!-- Kills all Nokia processes -->
+
        xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        <install cmd='"%SOFTWARE%\utilities\ovisuite\installer\CommonCustomActions\WMF11Runx86.exe"' />
+
        xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd" >
        <install cmd='"%SOFTWARE%\utilities\ovisuite\installer\CommonCustomActions\Run_XML6_SP1.exe"' />
+
        <install cmd='msiexec /qn /I "%SOFTWARE%\utilities\ovisuite\Packages\VC80_x86\Setup\VC80_x86_v2.msi"' />
+
<package
        <install cmd='msiexec /qn /I "%SOFTWARE%\utilities\ovisuite\Packages\VC90_x86\Setup\VC90_x86_v2.msi"' />
+
id="ovisuite"
        <install cmd='msiexec /qn /I "%SOFTWARE%\utilities\ovisuite\Packages\CCD\Setup\Nokia_Connectivity_Cable_Driver.msi"' />
+
name="Nokia Ovi Suite"
        <install cmd='msiexec /qn /I "%SOFTWARE%\utilities\ovisuite\Packages\PCCS\Setup\PCCS.msi"' />
+
revision="%VERSION%-201204251207"
        <install cmd='msiexec /qn /I "%SOFTWARE%\utilities\ovisuite\Packages\ODSE\Setup\OviTrilogy.msi"' />
+
  reboot="false"
        <install cmd='msiexec /qn /I "%SOFTWARE%\utilities\ovisuite\Packages\MP\Setup\OviMPlatform.msi"' />
+
priority="0">
        <install cmd='msiexec /qn /I "%SOFTWARE%\utilities\ovisuite\Packages\Nokia_Ovi_Suite\Setup\Nokia_Ovi_Suite.msi"' />
+
  <!-- download from http://europe.nokia.com/support/product-support/nokia-ovi-suite/compatibility-and-download -->
        <upgrade cmd='"%SOFTWARE%\utilities\ovisuite\installer\CommonCustomActions\pcswpc.exe"' /> <!-- Kills all Nokia processes -->
+
  <variable name="VERSION" value="3.3.89.0" />
        <remove cmd='"%SOFTWARE%\utilities\ovisuite\installer\CommonCustomActions\pcswpc.exe"' /> <!-- Kills all Nokia processes -->
+
  <variable name="ARCH" value="x86"      architecture="x86"/>
        <remove cmd='MsiExec.exe /qn /X{07D77970-B205-460C-84E4-263F30455597}' />
+
  <variable name="ARCH" value="x64" architecture="x64"/>
        <remove cmd='MsiExec.exe /qn /X{12451AF7-EFF8-4B5B-8255-282D7CC7CAEE}' />
+
  <variable name="PKG_DESTINATION" value="%ProgramFiles%\Nokia\Nokia Suite"      architecture="x86"/>
        <remove cmd='MsiExec.exe /qn  /X{2CC53A53-44F4-4667-8584-2FFC9ACB2242}' />
+
  <variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\Nokia\Nokia Suite" architecture="x64"/>
        <remove cmd='MsiExec.exe /qn /X{2D99A593-C841-43A7-B7C9-D6F3AE70B756}' />
+
 
        <remove cmd='MsiExec.exe /qn /X{C373F7C4-05D2-4047-96D1-6AF30661C6AA}' />
+
<check type="uninstall" condition="exists" path="Nokia Suite" />
 +
  <check type="file"      condition="versiongreaterorequal" path="%PKG_DESTINATION%\NokiaSuite.exe" value="%VERSION%" /> 
 +
 
 +
  <install cmd='"%SOFTWARE%\NokiaOviSuite\%VERSION%\installer\CommonCustomActions\pcswpc.exe"' /> <!-- Kills all Nokia processes -->
 +
  <!-- gives security pop-up and fails in silent mode install cmd='"%SOFTWARE%\NokiaOviSuite\%VERSION%\installer\CommonCustomActions\WMF11Runx86.exe"' / -->
 +
  <install cmd='cmd /c copy /y "%SOFTWARE%\NokiaOviSuite\%VERSION%\installer\CommonCustomActions\WMF11Runx86.exe" %TEMP%' />
 +
  <install cmd='"%TEMP%\WMF11Runx86.exe"' />
 +
  <install cmd='cmd /c del "%TEMP%\WMF11Runx86.exe"' />
 +
  <install cmd='"%SOFTWARE%\NokiaOviSuite\%VERSION%\installer\CommonCustomActions\Run_XML6_SP1.exe"' />
 +
  <install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\VC80_%ARCH%\Setup\VC80_%ARCH%_v2.msi"' />
 +
  <install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\VC90_%ARCH%\Setup\VC90_%ARCH%_v2.msi"' />
 +
  <install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\VC100_%ARCH%\Setup\VC100_%ARCH%.msi"' ><exit code='0' /><exit code='3010' reboot="true"/></install>
 +
  <install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\CCD\Setup\Nokia_Connectivity_Cable_Driver.msi"' />
 +
  <install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\PCCS\Setup\PCCS.msi"' />
 +
  <!-- not found in 3.3.89.0: install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\ODSE\Setup\OviTrilogy.msi"' / -->
 +
  <!-- not found in 3.3.89.0: install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\MP\Setup\OviMPlatform.msi"' / -->
 +
  <install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\Nokia_Suite\Setup\Nokia_Suite.msi"' />
 +
 
 +
  <upgrade cmd='"%SOFTWARE%\NokiaOviSuite\%VERSION%\installer\CommonCustomActions\pcswpc.exe"' /> <!-- Kills all Nokia processes -->
 +
  <upgrade include = "install" />
 +
 
 +
  <remove cmd='"%SOFTWARE%\NokiaOviSuite\%VERSION%\installer\CommonCustomActions\pcswpc.exe"' /> <!-- Kills all Nokia processes -->
 +
  <remove cmd='MsiExec.exe /qn /X{07D77970-B205-460C-84E4-263F30455597}' /> <!-- ovisuite 3.1.1.80 -->
 +
  <remove cmd='MsiExec.exe /qn /X{92D1CEBC-7C72-4ECF-BFC6-C131EF3FE6A7}' /> <!-- ovisuite 3.3.89.0 -->
 +
  <remove cmd='MsiExec.exe /qn /X{12451AF7-EFF8-4B5B-8255-282D7CC7CAEE}' /> <!--  ? -->
 +
  <remove cmd='MsiExec.exe /qn  /X{2CC53A53-44F4-4667-8584-2FFC9ACB2242}' /> <!--  Desktop sync ? -->
 +
  <remove cmd='MsiExec.exe /qn /X{2D99A593-C841-43A7-B7C9-D6F3AE70B756}' /> <!--  Nokia Connectivity Cable Driver ? -->
 +
  <remove cmd='MsiExec.exe /qn /X{C373F7C4-05D2-4047-96D1-6AF30661C6AA}' /> <!--  PC Connectivity Solution ? -->
 +
  <remove cmd='MsiExec.exe /qn /X{4D668D4F-FAA2-4726-834C-31F4614F312E}'  architecture="x64"/> <!--  MSVC80_x64_v2 1.0.3.0 -->
 +
  <remove cmd='MsiExec.exe /qn /X{68660049-8D48-427C-9FF7-139D8340CDC0}'  architecture="x64"/> <!--  MSVC80_x64_v2 1.0.1.0 -->
 +
  <remove cmd='MsiExec.exe /qn /X{AB071C8B-873C-459F-ACA9-9EBE03C3E89B}'  architecture="x64"/> <!--  MSVC90_x64 1.0.1.2 -->
 +
<remove cmd='MsiExec.exe /qn /X{680EDA59-9266-44B4-949E-0C24F65DFF82}'  architecture="x64"/> <!--  Microsoft_VC100_CRT_SP1_x64 10.0.40219.1 -->
 +
 
 
</package>
 
</package>
 +
</packages:packages>
 
</source>
 
</source>
  
 
[[Category:Silent Installers]]
 
[[Category:Silent Installers]]

Latest revision as of 12:48, 25 April 2012

This is a silent installer for the Nokia Ovi Suite.

The Ovi Suite installer, Nokia_Ovi_Suite_webinstaller_ALL.exe, can install silently using switches variously reported as some combination of

/SILENT="1" /DISABLEOPTION="CD" /D="AUTORUN" /D="AUTOUPDATE" /D="WEBUPDATE /DISABLE="AUTORUN","AUTOUPDATE","WEBUPDATE"


The following issues exist with this method:

  • When run from a network share the installer errors with vague message about corrupt install media
  • The installer hangs after successfully installing
  • The auto update service appears to still run, despite attempts to disable it via switches

As an alternative we can extract Nokia_Ovi_Suite_webinstaller_ALL.exe (available from http://europe.nokia.com/support/product-support/nokia-ovi-suite/compatibility-and-download ) using 7zip or similar program, and install the MSIs for individual components (skipping the NSU package, which is the auto update component).

<?xml version="1.0" encoding="UTF-8"?> 
<packages:packages
        xmlns:packages="http://www.wpkg.org/packages" xmlns:wpkg="http://www.wpkg.org/wpkg" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.wpkg.org/packages ../xsd/packages.xsd" >
		
<package
	id="ovisuite"
	name="Nokia Ovi Suite"
	revision="%VERSION%-201204251207"
  reboot="false"
	priority="0">
  <!-- download from http://europe.nokia.com/support/product-support/nokia-ovi-suite/compatibility-and-download -->
  <variable name="VERSION" value="3.3.89.0" />
  <variable name="ARCH" value="x86"      architecture="x86"/>
  <variable name="ARCH" value="x64" architecture="x64"/>
  <variable name="PKG_DESTINATION" value="%ProgramFiles%\Nokia\Nokia Suite"      architecture="x86"/>
  <variable name="PKG_DESTINATION" value="%ProgramFiles(x86)%\Nokia\Nokia Suite" architecture="x64"/>
  
	<check type="uninstall" condition="exists" path="Nokia Suite" />
  <check type="file"      condition="versiongreaterorequal" path="%PKG_DESTINATION%\NokiaSuite.exe" value="%VERSION%" />  
  
  <install cmd='"%SOFTWARE%\NokiaOviSuite\%VERSION%\installer\CommonCustomActions\pcswpc.exe"' /> <!-- Kills all Nokia processes -->
  <!-- gives security pop-up and fails in silent mode install cmd='"%SOFTWARE%\NokiaOviSuite\%VERSION%\installer\CommonCustomActions\WMF11Runx86.exe"' / -->
  <install cmd='cmd /c copy /y "%SOFTWARE%\NokiaOviSuite\%VERSION%\installer\CommonCustomActions\WMF11Runx86.exe" %TEMP%' />
  <install cmd='"%TEMP%\WMF11Runx86.exe"' />
  <install cmd='cmd /c del "%TEMP%\WMF11Runx86.exe"' />
  <install cmd='"%SOFTWARE%\NokiaOviSuite\%VERSION%\installer\CommonCustomActions\Run_XML6_SP1.exe"' />
  <install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\VC80_%ARCH%\Setup\VC80_%ARCH%_v2.msi"' />
  <install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\VC90_%ARCH%\Setup\VC90_%ARCH%_v2.msi"' />
  <install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\VC100_%ARCH%\Setup\VC100_%ARCH%.msi"' ><exit code='0' /><exit code='3010' reboot="true"/></install>
  <install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\CCD\Setup\Nokia_Connectivity_Cable_Driver.msi"' />
  <install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\PCCS\Setup\PCCS.msi"' />
  <!-- not found in 3.3.89.0: install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\ODSE\Setup\OviTrilogy.msi"' / -->
  <!-- not found in 3.3.89.0: install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\MP\Setup\OviMPlatform.msi"' / -->
  <install cmd='msiexec /qn /I "%SOFTWARE%\NokiaOviSuite\%VERSION%\Packages\Nokia_Suite\Setup\Nokia_Suite.msi"' />
  
  <upgrade cmd='"%SOFTWARE%\NokiaOviSuite\%VERSION%\installer\CommonCustomActions\pcswpc.exe"' /> <!-- Kills all Nokia processes -->
  <upgrade include = "install" />
  
  <remove cmd='"%SOFTWARE%\NokiaOviSuite\%VERSION%\installer\CommonCustomActions\pcswpc.exe"' /> <!-- Kills all Nokia processes -->
  <remove cmd='MsiExec.exe /qn /X{07D77970-B205-460C-84E4-263F30455597}' /> <!-- ovisuite 3.1.1.80 -->
  <remove cmd='MsiExec.exe /qn /X{92D1CEBC-7C72-4ECF-BFC6-C131EF3FE6A7}' /> <!-- ovisuite 3.3.89.0 -->
  <remove cmd='MsiExec.exe /qn /X{12451AF7-EFF8-4B5B-8255-282D7CC7CAEE}' /> <!--  ? -->
  <remove cmd='MsiExec.exe /qn  /X{2CC53A53-44F4-4667-8584-2FFC9ACB2242}' /> <!--  Desktop sync ? -->
  <remove cmd='MsiExec.exe /qn /X{2D99A593-C841-43A7-B7C9-D6F3AE70B756}' /> <!--  Nokia Connectivity Cable Driver ? -->
  <remove cmd='MsiExec.exe /qn /X{C373F7C4-05D2-4047-96D1-6AF30661C6AA}' /> <!--  PC Connectivity Solution ? -->
  <remove cmd='MsiExec.exe /qn /X{4D668D4F-FAA2-4726-834C-31F4614F312E}'  architecture="x64"/> <!--  MSVC80_x64_v2 1.0.3.0 -->
  <remove cmd='MsiExec.exe /qn /X{68660049-8D48-427C-9FF7-139D8340CDC0}'  architecture="x64"/> <!--  MSVC80_x64_v2 1.0.1.0 -->
  <remove cmd='MsiExec.exe /qn /X{AB071C8B-873C-459F-ACA9-9EBE03C3E89B}'  architecture="x64"/> <!--  MSVC90_x64 1.0.1.2 -->
	<remove cmd='MsiExec.exe /qn /X{680EDA59-9266-44B4-949E-0C24F65DFF82}'  architecture="x64"/> <!--  Microsoft_VC100_CRT_SP1_x64 10.0.40219.1 -->	
  
</package>
</packages:packages>