Hi,

I have MSI which includes .bat file and working as custom action but how can I make it so it workes also on repair, becasue my .bat file copy folder from one location to other but if that folder is deleted then repairing it .bat file did not works anymore. Any ideas?

Answer Summary:
Keep custom action condition as NOT REMOVE
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

2

Keep custom action condition as NOT REMOVE

Answered 09/22/2012 by: jagadeish
Red Belt

Please log in to comment

Answers

0

Couldn't you put in a if/else statement looking for the folder and if it finds it do the action, else create the folder and do the action?

Answered 09/21/2012 by: nshah
Red Belt

Please log in to comment
0

Thank you jagadeish your suggestion worked :)

Answered 09/24/2012 by: lanselots
Fourth Degree Brown Belt

Please log in to comment
Answer this question or Comment on this question for clarity