Howdy, In my installer I use WixVsExtension to call "devenv.exe /installvstemplates" for VS.NET 2005/2008, here is the part of code: <InstallExecuteSequence> <Custom Action="VS90InstallVSTemplates" Before="InstallFinalize">VS90DEVENV</Custom> <Custom Action="VS2005InstallVSTemplates" Before="InstallFinalize">VS2005DEVENV AND VS2005_SP_LEVEL AND NOT VS2005_SP_LEVEL="#0"</Custom> </InstallExecuteSequence> These custom actions should be called during both of install and uninstall - VS package is registered during installation and unregistered at the end of uninstall. I would like that the progress text for these custom actions would be: "Registering with VS.NET 2005(2008)" during installation and "Unregistering with VS.NET 2005(2008)" during uninstall(if the users forces uninstall from UI that is possible in my installer) To do that I set the progress text as below: <ProgressText Action="VS2005InstallVSTemplates">[VSDevEnvSetupMode] with VS.NET 2005</ProgressText> <ProgressText Action="VS90InstallVSTemplates">[VSDevEnvSetupMode] with VS.NET 2008</ProgressText> then defined the property: <Property Id="VSDevEnvSetupMode">Registering</Property> Then..if the user forces the uninstall, I set the property: <Control Id="RemoveButton" Type="PushButton" X="50" Y="127" Width="56" Height="17" Text="Uninstall"> <Publish Property="VSDevEnvSetupMode" Value="Unregistering">1</Publish> ..... However, the progress text always says "Registering"... I can't use two different custom actions since this is the standard custom actions with the strong ID.. I suppose that the root of the problem I faced is progress text is something "static" and can't be changed dynamically. The only way of solving the problem I can see is using non-standard custom actions - obtain the path to devenv.exe, call it from two different custom actions and set own progress text for every custom action. Q: Am I right that this is the only way to solve the problem I faced or am I missing something in the way I use for now??
-- View this message in context: http://n2.nabble.com/Setting-the-progress-text-of-custom-action-dynamically-tp1450494p1450494.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users