|
#1
|
|||
|
|||
|
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 |
|
#2
|
||||
|
||||
|
Re: Unable to update files at destination path located through registry
Hi jyothi,
Why don't you set %AppDir% when you read from the registry? I would suggest that instead of setting %prevloc% you set %AppDir% and set the default value in your Registry Variable action to %AppDir%. Give this a try and let me know the results.
__________________
MSI Factory The Next Generation Intelligent Setup Builder |
|
#3
|
|||
|
|||
|
Re: Unable to update files at destination path located through registry
Hi mark,
I used %prevloc% in search path for key folder. now it is working fine. My problem is solved. Thanks a lot, Jyothi |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -6. The time now is 07:48 AM.






Linear Mode
