Step 3 of 3: Add otkdbi.exe and Otk.Dbi.CustomActions.dll as your Custom Actions
- Add otkdbi.exe as Install custom action and assign the following to the Arguments property:
-i -cfg:"[TARGETDIR]YourApplication.exe.config"
This is to update the connectionString of your application's config file. - Add Otk.Dbi.CustomActions.dll as Uninstall custom action.
- Save and build your Setup Project.
- You are done!
What to do next?