Silent Installation: Import Registry Settings

Previous Next

See Also

When the install.sss file has been modified and copied to a new location (which can be another machine), the USoft setup utility must be informed where the file is located. The USoft setup utility uses the following registry keys to find the location of the install.sss file and to determine the folder where USoft Developer will be installed.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\USoft8]

@=""

"DisplayName"="USoft 8"

"ModifyPath"="\"c:\\usd8\\Uninstall.exe\" \"c:\\usd8\\install.log\""

"UninstallString"="\"c:\\usd8\\Uninstall.exe\" \"c:\\usd8\\install.log\" -u"

"InstallLocation"="c:\\usd8"

"InstallSource"="c:\\TestInstall"

"InstallSourceFile"="c:\\TestInstall\\SetupUSoft8.0.1N.exe"

"InstallDate"="05/06/2009"

"Publisher"="USoft B.V."

"DisplayVersion"="8"

"Contact"="USoft B.V."

"BuildTimeStamp"="397105996865972"

"SilentSettings"="c:\\usd8\\install.sss"

These registry keys must be imported into the registry before the installation is performed.

The InstallLocation key specifies where USoft will be installed. It overrules the setting for the InstallPath variable in the install.sss file.

The SilentSettings key determines the location of the install.sss file. This setting must be correct, or the installation will fail.

NOTE:

You can use the example above, after editing it to suit your requirements, and copy it into a registry import file, for example. UsofInstallIimport.reg. You can then use this file to import the required registry keys into the registry of the target machine. Refer to your Windows documentation for more details on importing registry keys.