PDA

View Full Version : INSTALLDIR and Patch



RGoncalves
01-12-2005, 12:14 PM
Hi, I have a Setup that doesn't put the InstallLocation property on the Registry, and when run a quickpatch over that setup it gives me an error runing a script because the INSTALLDIR property isn't the same where the setup was installed .

On LogFile from Setup the INSTALLDIR = c:\Program Files\Mil\mil\ where the setup was installed
On LogFile from QuickPatch the INSTALLDIR = c:\Programas\Mil\mil\

PS: when i runned the setup i choose custom and changed the installdir from c:\Programas\Mil\mil\ to c:\Program Files\Mil\mil\


Any Solution to get the real InstallDir when running the quickpatch??

Thankx in advanced,

Ricardo

RGoncalves
01-13-2005, 10:48 AM
Now i discovered that the quickpatch put the InstallLocation value (in the registry) to an empty string.

If i put Update.exe /V"INSTALLDIR=c:\\SetupDir" then update.exe works fine else gives me an error that not found a file, for a script to run...

Any help ?

Thankx