Someone please help me with the following issue?


I have this property : <Property Id="EXCEL_PROGRAM" Value="DUMMY.EXE"/>

And this Custom action which sets the above property

<CustomAction Id="GEN_XLS_PATH" Return="check" Property="EXCEL_PROGRAM"
Value="[XLSPROGPATH]Excel.exe"></CustomAction>

There is another custom action which uses the above property

<CustomAction Id="LaunchExcel" Property="EXCEL_PROGRAM" ExeCommand="" Return
="asyncNoWait" />



The installation log shows the following:



…

…

…

Action start 19:08:22: LaunchConditions.

Action ended 19:08:22: LaunchConditions. Return value 1.

MSI (s) (48:C4) [19:08:22:819]: Doing action: GEN_XLS_PATH

MSI (s) (48:C4) [19:08:22:819]: Note: 1: 2205 2:  3: ActionText

Action 19:08:22: GEN_XLS_PATH.

Action start 19:08:22: GEN_XLS_PATH.

MSI (s) (48:C4) [19:08:22:819]: *PROPERTY CHANGE: Modifying EXCEL_PROGRAM
property. Its current value is 'DUMMY.EXE'. Its new value: 'D:\Program
Files\Microsoft Office\OFFICE11\Excel.exe'.*

Action ended 19:08:22: GEN_XLS_PATH. Return value 1.

MSI (s) (48:C4) [19:08:22:834]: Doing action: FindRelatedProducts

…

…

…

MSI (c) (B8:28) [19:08:36:835]: Doing action: LaunchExcel

MSI (c) (B8:28) [19:08:36:850]: Note: 1: 2205 2:  3: ActionText

Action 19:08:36: LaunchExcel.

Action start 19:08:36: LaunchExcel.

Action ended 19:08:36: Complete. Return value 1.

Action ended 19:08:36: INSTALL. Return value 1.

Action ended 19:08:36: LaunchExcel. Return value 1631.

Property(C): INSTALLDIR = C:\Program Files\***\Addin\

Property(C): *EXCEL_PROGRAM = DUMMY.EXE*

Property(C): TARGETDIR = F:\

…

…



The property was changed, but still while executing LaunchExcel it is being
shown as DUMMY.EXE



Any idea what is going wrong here?



Thanks,

Nitin Chaudhari
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to