MSI.GetTargetPath |
|
|
|
MSI.GetTargetPath |
|
|
|
|
||
OverviewExamples
strInstallDirTarget = MSI.GetTargetPath(_hInstall, "INSTALLDIR");
strInstallDirSource = MSI.GetSourcePath(_hInstall, "INSTALLDIR");
if (strInstallDir == "C:\\Program Files\\AppABC") and (strInstallDirSource == "D:\\") then
bSetTrg = MSI.SetTargetPath(_hInstall, "INSTALLDIR", "C:\\");
end
Sets the target path to the root of the C: drive if it is being installed to the Program Files folder and it is run from the D: drive.
See also: Related Actions
Learn More: Indigo Rose Software - MSI Factory - Buy Now - Contact Us