Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2013
    Posts
    6

    Custom action running after InstallFiles

    I have a custom action set to run after InstallFiles which executes a program installed with the product. When running the compiled msi I get an error that the program cannot be found, presumably as it hasn't yet been copied.

    If I set this custom action to run after FinalizeInstall the program runs correctly, but then also attempts to run on uninstall, by which time it has been removed so causes an error.

    Is there a way I can get this custom action to only be performed when installing, not uninstalling?

    Thanks
    Attached Files

  2. #2
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    3,031
    Quote Originally Posted by jon View Post
    If I set this custom action to run after FinalizeInstall the program runs correctly, but then also attempts to run on uninstall, by which time it has been removed so causes an error.

    Is there a way I can get this custom action to only be performed when installing, not uninstalling?
    Of course - use a Condition on the Custom Action timing.

    Ulrich

  3. #3
    Join Date
    Feb 2013
    Posts
    6
    Thanks - I have set a Condition of 'NOT Installed' which has worked perfectly.

Posting Permissions

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