;Windows section win.version=2.6.0.9 win.totalSize=8491591 win.numFiles=22 win.installDir=${ProgramFiles}\\Pando Networks\\Media Booster ; shutdown PMB gracefully. if it doesn't work - kill it win.install.pre.1=# &execElevatedREST{shutdown} win.install.pre.2=TASKKILL /F /IM PMB.exe /T ;win.install.pre.2.onlyIf=&isPMBRunning{} win.install.pre.3=REG DELETE "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{980A182F-E0A2-4A40-94C1-AE0C1235902E}" /va /F win.install.pre.4=REG DELETE "HKCU\\Software\\Microsoft\\Installer\\Products\\F281A0892A0E04A4491CEAC0215309E2" /va /F win.install.pre.5=REG DELETE "HKCU\\Software\\Microsoft\\Installer\\UpgradeCodes\\868F06E7785EC6543949591BEAFF543B" /va /F ;--- files to install begin here win.1.name=uninst.exe win.2.name=BsSndRpt.exe win.3.name=BugSplat.dll win.4.name=BugSplatRc.dll win.5.name=freebl3.dll win.6.name=nspr4.dll win.7.name=plc4.dll win.8.name=plds4.dll win.9.name=Microsoft.VC90.CRT/msvcp90.dll win.10.name=Microsoft.VC90.CRT/msvcr90.dll win.11.name=nss3.dll win.12.name=nssckbi.dll win.13.name=PMB.cpl win.14.name=PMB.exe win.15.name=smime3.dll win.16.name=softokn3.dll win.17.name=ssl3.dll win.18.name=npPandoWebPlugin.dll win.19.name=npPandoWebPlugin.dll.2.config win.20.name=PMB.exe.config win.21.name=Media Booster FAQs.url win.22.name=Microsoft.VC90.CRT/Microsoft.VC90.CRT.manifest ;--- files to install end here ; register PMB under HKCU and HKLM win.install.post.1=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Control Panel\\Cpls" /V Pando /T REG_EXPAND_SZ /F /D "%{win.installDir}\\PMB.cpl" win.install.post.2=REG ADD "HKCU\\SOFTWARE\\Pando Networks\\PMB" /V "Program Directory" /T REG_SZ /F /D "%{win.installDir}" win.install.post.3=REG ADD "HKCU\\SOFTWARE\\Pando Networks\\PMB" /V "Version Number" /T REG_SZ /F /D "%{win.version}" win.install.post.4=REG ADD "HKLM\\SOFTWARE\\Pando Networks\\PMB" /V "Program Directory" /T REG_SZ /F /D "%{win.installDir}" win.install.post.5=REG ADD "HKLM\\SOFTWARE\\Pando Networks\\PMB" /V "Version Number" /T REG_SZ /F /D "%{win.version}" ; add/remove software win.install.post.6=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{980A182F-E0A2-4A40-94C1-AE0C1235902E}" /V DisplayName /T REG_SZ /F /D "Pando Media Booster" win.install.post.7=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{980A182F-E0A2-4A40-94C1-AE0C1235902E}" /V DisplayVersion /T REG_SZ /F /D "%{win.version}" win.install.post.8=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{980A182F-E0A2-4A40-94C1-AE0C1235902E}" /V InstallLocation /T REG_SZ /F /D "%{win.installDir}" win.install.post.9=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{980A182F-E0A2-4A40-94C1-AE0C1235902E}" /V UninstallString /T REG_EXPAND_SZ /F /D "%{win.installDir}\\uninst.exe" win.install.post.10=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{980A182F-E0A2-4A40-94C1-AE0C1235902E}" /V URLInfoAbout /T REG_SZ /F /D "http://www.pandonetworks.com/pando-media-booster-support-faq" win.install.post.11=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{980A182F-E0A2-4A40-94C1-AE0C1235902E}" /V WindowsInstaller /T REG_DWORD /F /D 0 win.install.post.12=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{980A182F-E0A2-4A40-94C1-AE0C1235902E}" /V Publisher /T REG_SZ /F /D "Pando Networks Inc." win.install.post.13=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{980A182F-E0A2-4A40-94C1-AE0C1235902E}" /V DisplayIcon /T REG_SZ /F /D "%{win.installDir}\\PMB.exe" win.install.post.14=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{980A182F-E0A2-4A40-94C1-AE0C1235902E}" /V NoModify /T REG_DWORD /F /D "1" win.install.post.15=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{980A182F-E0A2-4A40-94C1-AE0C1235902E}" /V NoRepair /T REG_DWORD /F /D "1" win.install.post.16=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{980A182F-E0A2-4A40-94C1-AE0C1235902E}" /V EstimatedSize /T REG_DWORD /F /D "5600" win.install.post.17=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Ext\\PreApproved\\{31261F21-2B16-45EE-BEAB-07C4CFA18B65}" /F win.install.post.18=REG ADD "HKLM\\SOFTWARE\\MozillaPlugins\\@pandonetworks.com/PandoWebPlugin" /V Path /T REG_SZ /F /D "%{win.installDir}\\npPandoWebPlugin.dll" win.install.post.19=REG ADD "HKLM\\SOFTWARE\\MozillaPlugins\\@pandonetworks.com/PandoWebPlugin" /V ProductName /T REG_SZ /F /D "Pando Web Plugin" win.install.post.20=REG ADD "HKLM\\SOFTWARE\\MozillaPlugins\\@pandonetworks.com/PandoWebPlugin" /V Description /T REG_SZ /F /D "This plugin detects and launches Pando Media Booster" win.install.post.21=REG ADD "HKLM\\SOFTWARE\\MozillaPlugins\\@pandonetworks.com/PandoWebPlugin" /V Vendor /T REG_SZ /F /D "Pando Networks Inc." win.install.post.22=REG ADD "HKLM\\SOFTWARE\\MozillaPlugins\\@pandonetworks.com/PandoWebPlugin" /V Version /T REG_SZ /F /D "%{win.version}" ; register IE plugin win.install.post.23=regsvr32 /s "%{win.installDir}\\npPandoWebPlugin.dll" _listeningPort=&genListeningPort{} win.install.post.24=*netsh firewall add allowedprogram program="%{win.installDir}\\PMB.exe" name="Pando Media Booster" mode=ENABLE profile=all win.install.post.25=*netsh firewall add portopening protocol=ALL port=%{_listeningPort} name="Pando Media Booster" profile=all ;remember to save the listeningPort into the .ini file win.install.post.26=# &saveIni{%{win.version},%{_listeningPort},®Value{HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders\\Common AppData}} ; IE protected mode elevation policy win.install.post.27=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Internet Explorer\\Low Rights\ElevationPolicy\\{3644F00E-747A-44aa-8DC3-139CCBEF5BFB}" /V AppName /T REG_SZ /F /D "PMB.exe" win.install.post.28=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Internet Explorer\\Low Rights\ElevationPolicy\\{3644F00E-747A-44aa-8DC3-139CCBEF5BFB}" /V AppPath /T REG_SZ /F /D "%{win.installDir}" win.install.post.29=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Internet Explorer\\Low Rights\ElevationPolicy\\{3644F00E-747A-44aa-8DC3-139CCBEF5BFB}" /V Policy /T REG_DWORD /F /D 3 ; update permissions for pando.ini so pmb can read and write to it always win.install.post.30=*echo Y | cacls "®Value{HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders\\Common AppData}\\PMB Files\\pando.ini" /C /P Everyone:F /e" ; this will only work on vista win.install.post.31=*netsh advfirewall firewall add rule name="Pando Media Booster" dir=in action=allow program="%{win.installDir}\\PMB.exe" enable=yes profile=ANY protocol=ANY edge=yes ; make PMB run on startup win.install.post.32=REG ADD "HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" /V "Pando Media Booster" /T REG_SZ /F /D "%{win.execute}" ; make PMB not run on startup ;win.install.post.32=REG DELETE "HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run" /V "Pando Media Booster" /F ;win.install.post.33=# &writeIni{Options, Start on Windows start,0} ; unregister the old plugin ; mozilla plugins folder _moz_plugins=®Value{HKLM\\Software\\Mozilla\\Mozilla Firefox\\®Value{HKLM\\Software\\Mozilla\\Mozilla Firefox\\CurrentVersion}\\Main\\Install Directory}\\Plugins win.install.post.33=regsvr32 /u /s "${ProgramFiles}\\Pando Networks\\PandoShared\\npPandoWebInst.dll" win.install.post.34=*del /F /Q "${ProgramFiles}\\Pando Networks\\PandoShared\\npPandoWebInst.*" "%{_moz_plugins}\\npPandoWebInst.*" win.install.post.35=REG ADD "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Control Panel\\Extended Properties\\{305CA226-D286-468e-B848-2B2E8E697B74} 2" /V "%{win.installDir}\\PMB.cpl" /T REG_SZ /F /D "0x0,0x3" win.execute=%{win.installDir}\\PMB.exe downloader.usecache=true