117
edits
Changes
modify msi based install to create icons for all users, create log directory before install, and update remove command.
revision="1"
reboot="false"
priority="10010">
<check type="uninstall" condition="exists" path="Google Earth" />
<install cmd='%COMSPEC% /C "md %SystemDrive%\netinst\logs\"' > <!-- install fails if log dir doesn't exist -->
<exit code="0" />
<exit code="1" /> <!-- directory already exists -->
</install
<install cmd='msiexec /qb /l* %SystemDrive%\netinst\logs\googleearth.txt /i "%SOFTWARE%\googleearth\google earth.msi" ALLUSERS=1' />
<upgrade cmd='msiexec /qb /l* %SystemDrive%\netinst\logs\googleearth.txt /i "%SOFTWARE%\googleearth\google earth.msi" ALLUSERS=1' />
<remove cmd='MsiExec.exe /qb /x {1E04F83B-2AB9-4301-9EF7-E86307F79C72}' >
<exit code="0" />