It depends what you are trying to do with your custom action...
All custom actions in setup projects are run "deferred", which basically
means at the end of that phase. So, the UnInstall custom actions are run
after the uninstall is pretty much done, i.e. the files are removed.
If you must do something at an earlier phase, then you would need to do
some advanced editing of the built .MSI file, or use a 3rd party installer
tool that gives you more control of the sequencing of custom actions.
---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
From: "RA" <ro****@hotmail .com>
Subject: Windows Installer - From .net project
Date: Thu, 8 Jan 2004 13:35:06 -0600
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Message-ID: <#8************ **@TK2MSFTNGP12 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.langua ges.csharp
NNTP-Posting-Host: 161.225.1.12
Path:
cpmsftngxa07.ph x.gbl!cpmsftngx a06.phx.gbl!cpm sftngxa09.phx.g bl!TK2MSFTNGP08 .
phx.gbl!TK2MSFT NGP12.phx.gblXref: cpmsftngxa07.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:2104 85
X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
Hi
I have created a Windows installer project from the .net vs. When I add
custom actions for the Uninstall event how can I tell it in what sequence
tolaunch the custome action? Whats happening is that it removes the files and
then tries to execute the custome action. Also how can I get the return
value from the custome action? Am I better of to write the code to
interfacewith the windows installer instead of relaying on vs to do the work for me?
If yes then which namespace should I use?
Thanks