xpresstotal.blogg.se

Google earth msi
Google earth msi









After that I found that googleearth.exe was running, so I kill that process so that it doesn't go off and create reg keys. Of course, do what you have to do to correctly point to the setup and iss files. "GoogleEarthWinProSetup.exe /s /SMS /f1setup.iss /f2c:\google.log".

google earth msi

To get all this to run through SMS, I wrote a vbscript which performs the install with. Return = objShell.Run (strCommand1,0,True)ĥ. StrCommand1 = "regedit.exe /s " & Quotes & PWD & "UserFiles\google_current_user.reg" & Quotes This includes the registration information ObjFSO.CopyFolder "C:\Program Files\Google\Google Earth Pro\UserFiles", strDirectory, OverWriteFilesĪnd then install all the other registry keys into current user. Then, I copy the required user files into their profile. OReg.SetStringValue HKEY_CURRENT_USER,strKeyPath,strValueName,strValue StrValue = "C:\Documents and Settings\" & strUser & "\Application Data\Google\GoogleEarth" StrKeyPath = "Software\Google\Google Earth Pro" OReg.CreateKey HKEY_CURRENT_USER,strKeyPath StrKeyPath = "Software\Google\CommonSettings" ' Create the two keys if they don't exist Set oReg=GetObject("winmgmts:!\\" & strComputer & "\root\default:StdRegProv") Then there are 4 reg keys that contain this path. This script which will be on the local machine and run as the user should create C:\Documents and Settings\USERNAME\Application Data\Google\GoogleEarth where you replace USERNAME with the correct user. The last thing I put into the msi was the vbscript referred to in the StubPath key.Ĥ. There are better places to read up on Active Setup. I created ComponentID, StubPath and Version. It's located at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\GoogleEarth and I also created an Active Setup key to run a script when the user next logs in to the machine.

google earth msi

reg file into the Program Files>Google Earth directory. I created an msi to dump these files and the. As well as a whole lotta reg keys under HKEY_CURRENT_USER\Software\Google.Ģ. This puts down a bunch of files into C:\Documents and Settings\USERNAME\Application Data\Google\GoogleEarth.

google earth msi google earth msi

Do an installation of Google Earth, including the registration information. Installing Google Earth Pro 4 in a corporate environment using SMS using a per-machine based installation.ġ.











Google earth msi