2008/10/24 Sergey Abakumoff <[EMAIL PROTECTED]>: > > Howdy gang, > First of all, I have solved the original problem that I described in the > first post: > In my installer I should show licensing dialog at the end of installation. > If the product is removed, the licensing dialog should not be shown though > and user exit dialog should be shown instead. > I used pretty straightforward way for that - LicensingDlg is shown every > time at the end of installation, but it's controls are shown and hidden by > the condition. This way if the product is installed, then LicensingDialog > shows licensing-related controls(enter name, enter serial, etc.). If the > product is uninstalled/repaired then LicensingDialog shows UserExit content. > I.e.: > <Control Id="UserNameEdit" Type="Edit" X="15" Y="75" Width="220" > Height="16" Property="USERNAME" Text="{80}"> > <Condition Action="show">Not Installed</Condition> > <Condition Action="hide"><![CDATA[Installed OR (Installer AND > (REMOVE OR REINSTALL))]]></Condition> > </Control> > <Control Id="Finish" Type="PushButton" X="304" Y="250" Width="56" > Height="17" > Default="yes" Cancel="yes" Text="!(loc.ButtonText_Finish)"> > <Condition Action="show"><![CDATA[Installed OR (Installer AND > (REMOVE OR REINSTALL))]]></Condition> > <Condition Action="hide">Not Installed</Condition> > <Publish Event="EndDialog" Value="Exit">1</Publish> > </Control> > > Then..as for calling external exe using CustomCommand with BinaryKey that > points to the program in the binaries table and with ExeCommand that > contains command-line arguments: > The executable I use reads some values from the application configuration > file(.NET exe and standard config file). If I use executable from the > binaries table, then the application can't find it's config file. I am not > sure whether it can be fixed..since as I understand the executable is > unpacked to the temp folder and called from that folder and there is no way > to keep config file with the exe... > It depends on your config file deployment: when you call your CustomAction. For sure you can't count on accessing the config filet by providing it through a <Binary /> element too.
> Thanks again for all the help you provided! > > -- ------------------------------------------------------------------------- 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