Yes, this is the solution. I have to use "CustomActionData" set by another CustomAction.
Thanks to all who helped me. > -----Ursprüngliche Nachricht----- > Von: Bob Arnson [mailto:[email protected]] > Gesendet: Freitag, 15. Juli 2011 17:02 > An: [email protected] > Betreff: Re: [WiX-users] Writing to ProgramFolder with Custom Action > Dll in C++ > > On 14-Jul-11 18:31, Michael Ganz wrote: > > MsiGetPropertyA(hInstall, "INSTALLDIR", > _pcKeyPath,&_dKeyPathLen); > > ... > > MsiSetPropertyA(hInstall, "KEYWRITESUCCESS", "0"); > > > Deferred custom actions can't read or write property values. See > "Obtaining Context Information for Deferred Execution Custom Actions" > for the pattern you need to use. > > -- > sig://boB > http://joyofsetup.com/ > > > ----------------------------------------------------------------------- > ------- > AppSumo Presents a FREE Video for the SourceForge Community by Eric > Ries, the creator of the Lean Startup Methodology on "Lean Startup > Secrets Revealed." This video shows you how to validate your ideas, > optimize your ideas and identify your business strategy. > http://p.sf.net/sfu/appsumosfdev2dev > _______________________________________________ > WiX-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

