Not be stoned and shunned but this group but instead of using the
NAnt's MSI and MSM tasks, we can use the the WIX toolset to generate
MSI and MSMs. There is a lot of work going on there and the WIX
Toolset forces you to build MSIs in accordance with best practices.

Atleast, I would personally prefer that. But my views may be biased as
I am a setup engineer by profession and builds are my "extra
responsibility". But I find using the best of both worlds is quite
rewarding. :-)

On Wed, 2 Mar 2005 09:13:46 -0500, Whitner, Tom <[EMAIL PROTECTED]> wrote:
> I think I found the source of my uninstall issue.  I was reusing the same
> GUID for every component within my install.  I had created a generic target
> to create an msm file based on some properties that I would set before
> calling the target.  Unfortunately, the 'id' attribute of the <component>
> element does not allow for script execution.  Therefore, I could not execute
> a script to create a new GUID, nor could I set a new GUID into a property
> and evaluate that.  To get past this I simply hard-coded the GUID!  I
> believe that only one of my components was actually getting uninstalled.  I
> have noticed an inconsistent behavior within the <msi> and <msm> tasks
> regarding 'id' attributes.  For instance, unlike the <component>'s 'id'
> attribute, the <msm>'s 'id' attribute fully supports script.  This
> inconsistency should probably be rectified by allowing all 'id's to call
> scripts and evaluate properties.
>  
> - Tom
> 
> 
> ________________________________
> From: Foster, Richard - PAL [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 02, 2005 9:06 AM
> To: Burton, Kevin; [email protected]
> Cc: Whitner, Tom
> 
> Subject: RE: [Nant-users] Removing files on uninstallation.
> 
> Kevin,
>  
> What I meant was that many installations allow the user to choose a
> different directory. I have had cases in the past (although not with the
> Microsoft installer) where if the user selected a different directory for
> installation (for example the D drive instead of the C drive), then
> uninstalled the software that an attempt was made to uninstall the files
> from the default installation directory, instead of the one where the files
> would actually be found!
>  
> Could you possibly post a sample MSI task exhibiting the fault?
>  
> Regards,
> Richard
> 
> ________________________________
> From: Burton, Kevin [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 02, 2005 08:55
> To: Foster, Richard - PAL; Byrd, Payton; [email protected]
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Nant-users] Removing files on uninstallation.
> 
> 
> 
> Richard,
> 
>  
> 
> Thank you for your response. The "variable" as far as I know is [TARGETDIR].
> I am not sure how it gets set on uninstall. I think this variable is getting
> set correctly on uninstall because some files are removed, just not all of
> them. That could be a possibility though. I am not sure what you mean by
> "does it make any difference". The installer chooses this directory so if
> the installation arbitrarily used the default directory instead it would
> matter, at least to the installer.
> 
>  
> 
> Regards,
> 
>  
> 
> Kevin
> 
>  
> ________________________________
> 
> 
> From: Foster, Richard - PAL [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, March 02, 2005 6:57 AM
> To: Burton, Kevin; Byrd, Payton; [email protected]
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Nant-users] Removing files on uninstallation.
> 
>  
> 
> Kevin,
> 
>  
> 
> This may be a stupid question, but most installations I have created use a
> variable to determine where the file should be placed. Is there any chance
> that variable could be set differently on uninstall verses installation?
> Also, does it make any difference if you accept the default installation
> directory or choose a different one?
> 
>  
> 
> Regards,
> 
> Richard
> 
>  
> ________________________________
> 
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Burton, Kevin
> Sent: Tuesday, March 01, 2005 16:38
> To: Byrd, Payton; [email protected]
> Cc: [EMAIL PROTECTED]
> Subject: RE: [Nant-users] Removing files on uninstallation.
> 
> The files that are not removed are not touched. I can install and
> immediately uninstall and the files remain.
> 
>  
> 
> Kevin
> 
>  


-- 
Vagmi
http://geekswithblogs.net/vagmi.mudumbai
http://installneo.blogspot.com


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to