Using VS2003 I have created a solution containing 2
c# projects and one setup project. One c# project is
a nt service and a project installer for the service.
The second c# project is a form and an installer to
show the form during the install process. Primary
output from both these projects has been added to the
setup project and to custom actions (install/commit/rollback/
uninstall).
1) How do I abort/rollback the installation if the data the
user provides in the form is not correct? From the
installer that shows the form I have tried:
this.parent.rollback()
but it dosent seem to rollback what the other installer
has installed.
2) The form that I use to collect data during setup is also
made available from the users programs menu. The form shows up
as "someform.exe" in the menu. How do I give the entry a
name other than the filename? (I added it by rightclicking
the setupproject then selecting view->file system and adding
the form to the user's program menu node).