Hey Curtis,

While installing the MSI database is read-only. You cannot do what you would
like to do. I asked this question a long time ago and the answer I got was
"...because it is that way." If you were signing your MSIs this would
invalidate the signature. Besides that, I don't have a good reason. In
theory you could write to a registry key under HKLM if you are an All User
install or HKCU if you are a Per User install. The key should be under a key
unique to your product.

> My custom action is supposed to add entries to the RemoveFiles table to
remove files and directories that weren't added by my original MSI

Hope that helps,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Sun, Apr 26, 2009 at 8:27 AM, Curtis Jewell <
lists.wix-us...@csjewell.fastmail.us> wrote:

> (complete source for the CA is at
> http://svn.ali.as/cpan/trunk/Perl-Dist-WiX/src/ClearFolderCA/ ,
> specifically
>
> http://svn.ali.as/cpan/trunk/Perl-Dist-WiX/src/ClearFolderCA/ClearFolderCA/ClearFolderCA.cpp
> )
>
> OK. My custom action is supposed to add entries to the RemoveFiles table
> to remove files and directories that weren't added by my original MSI,
> and adds entries to the Directory table to refer to the directories that
> I need to delete.
>
> It adds the entries that appear to be required to do the deletion
> correctly.
>
> Right now, my MSI only deletes files that were in directories created in
> my MSI.
>
> What am I doing wrong?
>
> (If you need logs, I'll send an MSI log (I've made a super-verbose one,
> but it's over 70MB!), and a output log from Visual Studio. (to show what
> the OutputDebugString calls show) later on today or tomorrow)
>
> --
> Curtis Jewell
> swords...@csjewell.fastmail.us
>
> %DCL-E-MEM-BAD, bad memory
> -VMS-F-PDGERS, pudding between the ears
>
> [I use PC-Alpine, which deliberately does not display colors and
> pictures in HTML mail]
> --
> Curtis Jewell
> swords...@csjewell.fastmail.us
>
> %DCL-E-MEM-BAD, bad memory
> -VMS-F-PDGERS, pudding between the ears
>
> [I use PC-Alpine, which deliberately does not display colors and pictures
> in HTML mail]
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports &#45; New Free Runtime and 30 Day Trial
> Check out the new simplified licensign option that enables unlimited
> royalty&#45;free distribution of the report engine for externally facing
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to