Hallo Eitan,

I´ve tried it out but it doesn´t work. with "SetProperty" The Installer does
nothing, as like as there is no such exe-file.

with your suggested Custum Action it get an error before compilation is
finished:
LGHT0094: Unresolved reference to symbol 'Directory:INSTALLDIR' in section
'Product:{BF172944-6089-42....

I post my code:

<CustomAction Id='ConfigSQLOnInst' FileKey='File___AOMySQLConfig.exe'
ExeCommand='' Return='check' />

    <!--<SetProperty Id='MYEXE' Value='[INSTALLDIR]Test.exe' 
Before='LaunchConditions'/>
    <CustomAction Id='ConfigSQLOnDeInst' Execute='immediate'
Property='MYEXE' ExeCommand='' Return='ignore' />-->

    <CustomAction Id='ConfigSQLOnDeInst' Directory='INSTALLDIR'
ExeCommand='Test.exe' Execute='immediate' Return='ignore' />

    <InstallExecuteSequence>      
      <Custom Action='ConfigSQLOnInst' After='InstallFinalize'>NOT Installed
AND INSTALLMYSQL</Custom>     
      <Custom Action='ConfigSQLOnDeInst'
Before='LaunchConditions'>Installed</Custom>
    </InstallExecuteSequence>

instead of  the marked LaunchConditions I´ve also tried other values. If I
enter 'After:"CostFinalize"' nothing happens.
What´s going on there???



-- 
View this message in context: 
http://n2.nabble.com/Custom-Action---start-exe-inside-my-INSTALLDIR-tp1568179p1568503.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

Reply via email to