Difference between revisions of "Google earth"
m |
m |
||
Line 13: | Line 13: | ||
priority="12"> | priority="12"> | ||
<check type="uninstall" condition="exists" path="Google Earth" /> | <check type="uninstall" condition="exists" path="Google Earth" /> | ||
− | <install cmd="%SOFTWARE%google-earth\GoogleEarth.exe -s -f1 | + | <install cmd="%SOFTWARE%\google-earth\GoogleEarth.exe -s -f1%SOFTWARE%\google-earth\setup.iss -f2C:\Logs\google-earth.log" /> |
− | + | ||
− | + | ||
</package> | </package> | ||
</pre> | </pre> | ||
[[Category:Silent Installers]] | [[Category:Silent Installers]] |
Revision as of 19:43, 2 October 2006
This is a silent installer for Google Earth. Since it uses an InstallShield installer, you have to create a response file to have a silent installer. Record it by running the installer from the command line with the -r flag (GoogleEarth.exe -r). Unless specified, the responce file will be called setup.iss and be put in the Windows folder. Copy it to your WPKG server and correct any permissions so that it's readable by everyone (chmod to 444). Another thing to keep in mind is that the silent installer will try to write a log. It's usefull to write the log locally so you can debug each machine if necessary.
Flags for the install command:
-f1\\path\to\setup.iss - notice there is no space between -f1 and \\path
-f2C:\path\to\file.log - once again. no space between the flag and the path. should be written locally for debugging purposes.
<package id="google-earth" name="Google Earth 3.0.762.0" revision="3" reboot="false" priority="12"> <check type="uninstall" condition="exists" path="Google Earth" /> <install cmd="%SOFTWARE%\google-earth\GoogleEarth.exe -s -f1%SOFTWARE%\google-earth\setup.iss -f2C:\Logs\google-earth.log" /> </package>