jyothi
02-18-2003, 07:44 AM
Hi,
I have created Visual Patch project where i have 2 releases
v1.0.0.0 and v2.0.0.0.
I have to create a patch such that it should search registry and locate previously
installed path and should copy the updated files in that location.
Here i am able to locate previous installation through registry which i am storing in variable %prevloc% but %AppDir% is not getting set to that value. As patch needs
%AppDir% to be set to destination location, it is not updating old files.
but if i create patch without searching in registry and directly run at destination location files are getting updated.
So please guide me how to get previously installed path from registry and make patch files be updated at this location.
Thanks,
Jyothi
I have created Visual Patch project where i have 2 releases
v1.0.0.0 and v2.0.0.0.
I have to create a patch such that it should search registry and locate previously
installed path and should copy the updated files in that location.
Here i am able to locate previous installation through registry which i am storing in variable %prevloc% but %AppDir% is not getting set to that value. As patch needs
%AppDir% to be set to destination location, it is not updating old files.
but if i create patch without searching in registry and directly run at destination location files are getting updated.
So please guide me how to get previously installed path from registry and make patch files be updated at this location.
Thanks,
Jyothi