Indigo Rose Software

Go Back   Indigo Rose Software Forums > Old Versions > Visual Patch 1.0

 
 
Thread Tools Display Modes
  #1  
Old 02-18-2003
jyothi jyothi is offline
Forum Member
 
Join Date: Feb 2003
Location: India
Posts: 3
Grin Unable to update files at destination path located through registry

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  
Old 02-18-2003
Mark's Avatar
Mark Mark is offline
Indigo Rose Staff Member
 
Join Date: Jun 2000
Location: Indigo Rose Software
Posts: 1,773
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  
Old 02-19-2003
jyothi jyothi is offline
Forum Member
 
Join Date: Feb 2003
Location: India
Posts: 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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -6. The time now is 07:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software