V
Viviana Vc
Hi all,
I have to create an installer using VS. NET Installer from VS .NET 2003
-> "Setup and Deployment Projects" type of project that besides other
requirements has to also:
1) on uninstall show the user a dialog with 2 radio buttons (ie A and B)
and depending on his choise one exe will be executed (ie for A the
a.exe) or another (ie for B the b.exe) and the uninstaller will be
aborted after launching the b.exe
2) if the first exe was run (ie a.exe) and it returns a specific value
the uninstaller might need to abort right-away otherwise it has to
continue
3) on uninstalling delete some directories that were created while the
product ran on that computer
I read the MSDNL for this and:
a) seems I can add a specific dialog (the 2 radio buttons dialog) only
in case of install, as the "User Interface" dialog has just "Install"
and "Administrative Install". Seems there is no way of adding a new
dialog in uninstall case.
b) couldn't find any way of actually aborting the uninstaller at one
point, let's say depending of the return value of an exe that was
previously run.
c) in MSDNL is written "Custom actions are a Windows Installer feature
that allows you to run code at the end of an installation" which means
there is no way of adding a custom action (like running an exe) at the
end of the UNinstallation.
Taking in account the above notes I am not sure if I can accomplish the
1, 2 and 3 requirements I described above. Is this correct?
Thanks in advance,
Viv
I have to create an installer using VS. NET Installer from VS .NET 2003
-> "Setup and Deployment Projects" type of project that besides other
requirements has to also:
1) on uninstall show the user a dialog with 2 radio buttons (ie A and B)
and depending on his choise one exe will be executed (ie for A the
a.exe) or another (ie for B the b.exe) and the uninstaller will be
aborted after launching the b.exe
2) if the first exe was run (ie a.exe) and it returns a specific value
the uninstaller might need to abort right-away otherwise it has to
continue
3) on uninstalling delete some directories that were created while the
product ran on that computer
I read the MSDNL for this and:
a) seems I can add a specific dialog (the 2 radio buttons dialog) only
in case of install, as the "User Interface" dialog has just "Install"
and "Administrative Install". Seems there is no way of adding a new
dialog in uninstall case.
b) couldn't find any way of actually aborting the uninstaller at one
point, let's say depending of the return value of an exe that was
previously run.
c) in MSDNL is written "Custom actions are a Windows Installer feature
that allows you to run code at the end of an installation" which means
there is no way of adding a custom action (like running an exe) at the
end of the UNinstallation.
Taking in account the above notes I am not sure if I can accomplish the
1, 2 and 3 requirements I described above. Is this correct?
Thanks in advance,
Viv