Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2009
    Posts
    3

    Question about rollback

    I have some of question about rollback function.
    I want files rollback on patch file is missing or target not found.
    So, Global Functions section on Resources tab include below code.

    Code:
    function g_OnFileProcessed(ResultCode, Filename, BackupFilename)	
    
        if ResultCode == 4 then	-- "File skipped. Matching target not found."
    	Application.Exit(EXIT_REASON_USER_ABORTED);
        end
    
    end
    While patch files, missing or target not found event occured, application is rollback patched files.
    But, there is one problem.
    Last patch file in list is missing, application is not return to rollback function.
    Just Lagacy file delete and exit program.

    Enable file rollback support and Delete legacy files option are checked.

    How can i solve this problem?

  2. #2
    Join Date
    Jun 2000
    Location
    Indigo Rose Software
    Posts
    1,943
    Hi okicuki,

    I have been able to confirm this error and it has been fixed for the next version of Visual Patch.

    Ref: 19079

    mark.
    MSI Factory The Next Generation Intelligent Setup Builder

Posting Permissions

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