Thanks Bob,

As you said, I added the custom action in InstallUISequence, and now it is
working :)

     <Show Dialog="Installing" After="CostFinalize" />
     <Custom Action="GEN_XLS_PATH" After="CostFinalize" />
     <Show Dialog="Complete" OnExit="success" />
   </InstallUISequence>

The log shows the following :

Action ended 21:02:02: CostFinalize. Return value 1.
MSI (c) (00:48) [21:02:02:458]: Doing action: Installing
MSI (c) (00:48) [21:02:02:458]: Note: 1: 2205 2:  3: ActionText
Action 21:02:02: Installing.
Action start 21:02:02: Installing.
MSI (c) (00:E0) [21:02:02:474]: Note: 1: 2205 2:  3: Error
MSI (c) (00:E0) [21:02:02:474]: Note: 1: 2228 2:  3: Error 4: SELECT
`Message` FROM `Error` WHERE `Error` = 2898
Info 2898. DefaultUIFontStyle, MS Sans Serif, 1
MSI (c) (00:E0) [21:02:02:474]: Note: 1: 2205 2:  3: Error
MSI (c) (00:E0) [21:02:02:474]: Note: 1: 2228 2:  3: Error 4: SELECT
`Message` FROM `Error` WHERE `Error` = 2898
Info 2898. VSI_Arial16.0_1_0, Arial, 1
Action 21:02:02: Installing. Dialog created
Action ended 21:02:02: Installing. Return value 1.
MSI (c) (00:48) [21:02:02:505]: Doing action: GEN_XLS_PATH
MSI (c) (00:48) [21:02:02:505]: Note: 1: 2205 2:  3: ActionText
Action 21:02:02: GEN_XLS_PATH.
Action start 21:02:02: GEN_XLS_PATH.
*MSI (c) (00:48) [21:02:02:505]: PROPERTY CHANGE: Modifying EXCELPROGRAM
property. Its current value is 'C:\Program Files\Microsoft
Office\OFFICE11\EXCEL.EXE'. Its new value: 'D:\Program Files\Microsoft
Office\OFFICE11\Excel.exe'.
*Action ended 21:02:02: GEN_XLS_PATH. Return value 1.

Finally the property is changed at client side.. :)

- Nitin

On 4/9/07, Bob Arnson <[EMAIL PROTECTED]> wrote:

Nitin Chaudhari wrote:
> I have still not found any solution to the following problem, I tried
> using a C++ custom action DLL, but even that changes the server side
> property. Please give me some information at least... so that I can
> think of some workarounds.

Schedule the setter CA in InstallUISequence. If it's only used in the
exit dialog, it doesn't need to be scheduled in InstallExecuteSequence.

--
sig://boB
http://bobs.org



-------------------------------------------------------------------------
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