![]() ![]() I need to rollback SQL database changes(creating database) if user cancels installation wizard at the time of installation and if user cancels un-install wizard it should not delete database. Has anybody other idea to implement in my setup project to overcome this problem? I think this is not the proper way to adding InstallState file manually. I found that it need to add again new InstallState file for the changes. Can you please try to trigger it from the 'Finish' button and let me know if that helps To do so, simply click on the 'Finish' button and then add, under 'Published Events', an 'Execute custom action' event which has as argument the 'Launch File' custom action. Object type not found for element ArrayOfKeyValueOfanyTypeanyType " I think you have not scheduled the custom action right. But after some change in application it started giving me some other error "Error 1001. ![]() ![]() Could not find file 'C:\Program Files (x86)\MyApp\MyService1.InstallState'." for both of my windows service one by one.įor temporary solution I kept both InstallState file and added manually in my setup project which adds both InstallState file to installation directory. The problem I am facing is after cancelling setup wizard using InstallException, it gives error "Error 1001. I am raising InstallException if user closes or clicks Cancel button on the form to cancel setup wizard. I have added custom action which opens windows form and accepts SQL server detail to creates SQL database for the application. net setup project to install application and windows services. In my application I have one windows form application and two windows services.
0 Comments
Leave a Reply. |