/build/static/layout/Breadcrumb_cap_w.png

.bat file repair

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?


0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
Keep custom action condition as NOT REMOVE
Posted by: jagadeish 12 years ago
Red Belt
2

Keep custom action condition as NOT REMOVE

Posted by: nshah 12 years ago
Red Belt
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?

Posted by: lanselots 12 years ago
Fifth Degree Brown Belt
0

Thank you jagadeish your suggestion worked :)

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ