Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    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. #2
    Join Date
    Jun 2000
    Location
    Indigo Rose Software
    Posts
    1,943

    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. #3
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts