577
edits
Changes
moved overly complex installer to the bottom
You will need to download the [http://downloads.foxitsoftware.com/foxitreader/FoxitReader23.msi msi] version of Foxit Reader in order for this to work. I would also recommend setting a different user in the permissions.
<source lang="xml">
Foxit Reader automatically makes itself the default PDF reader, hence the -register command-line switch isn't used here.
<source lang="xml">
</source>
-register - make Foxit Reader the default PDF reader
== Foxit Reader 2.3 Complicated Installer (That Should Be Explained)==
<source lang="xml">
<package
id="foxit-reader"
name="Foxit Reader"
revision="2.3"
reboot="false"
priority="0">
<check type="file" condition="versiongreaterorequal" path="%PROGRAMFILES%\Foxit Software\Foxit Reader\Foxit Reader.exe" value="2.3.2008.2923"/>
<install cmd='msiexec /i %SOFTWARE%\foxit\FoxitReader23.msi /passive /norestart'>
<exit code="0" />
</install>
<install cmd='cmd /c mkdir "%AllUsersProfile%\Start Menu\Programs\Foxit Reader"' />
<install cmd='cmd /c copy "%UserProfile%\Start Menu\Programs\Foxit Reader\Foxit Reader.lnk" "%AllUsersProfile%\Start Menu\Programs\Foxit Reader"' />
<install cmd='cmd /c rmdir /q /s "%UserProfile%\Start Menu\Programs\Foxit Reader"' />
<install cmd='cmd /c cacls "%ProgramFiles%\\Foxit Software" /T /E /G "Everyone":F ' />
<exit code="1332" />
<install cmd='cmd /c cacls "%AllUsersProfile%\\Start Menu\\Programs\\Foxit Reader" /T /E /G "Everyone":F ' />
<exit code="1332" />
<remove cmd='msiexec /x {376DA9DC-71B3-4AB7-A80C-8ED02A736172} /passive /norestart' />
<remove cmd='cmd /c rmdir /q /s "%AllUsersProfile%\Start Menu\Programs\Foxit Reader"' />
<upgrade cmd='cmd /c rmdir /q /s "%AllUsersProfile%\Start Menu\Programs\Foxit Reader"' />
<upgrade cmd='msiexec /i %SOFTWARE%\foxit\FoxitReader23.msi /passive /norestart'>
<exit code="0" />
</upgrade>
<upgrade cmd='cmd /c mkdir "%AllUsersProfile%\Start Menu\Programs\Foxit Reader"' />
<upgrade cmd='cmd /c copy "%UserProfile%\Start Menu\Programs\Foxit Reader\Foxit Reader.lnk" "%AllUsersProfile%\Start Menu\Programs\Foxit Reader"' />
<upgrade cmd='cmd /c rmdir /q /s "%UserProfile%\Start Menu\Programs\Foxit Reader"' />
<upgrade cmd='cmd /c cacls "%ProgramFiles%\\Foxit Software" /T /E /G "Everyone":F ' />
<exit code="1332" />
<upgrade cmd='cmd /c cacls "%AllUsersProfile%\\Start Menu\\Programs\\Foxit Reader" /T /E /G "Everyone":F ' />
<exit code="1332" />
</package>
</source>
[[Category:Silent Installers]]