It's been a while since I used WiX 2.0 but I would check what your
Execute & Impersonate attributes are for your custom action. AFAIK you
should set Execute="deferred" & Impersonate="no" but I may be wrong as
it's been a long time since I've messed with UAC & Custom Actions (Rob M
& others on the list drummed the idea that Custom Actions are bad into
me during my formative WiX years so I try to avoid using them as much as
possible).

Does your MSI ask for elevation on Vista before it begins the
InstallExecuteSequence? The "Install" button on the PrepareDlg will have
the UAC shield & you'll see the UAC prompt after you click it if it
does. It should be OK in that case with the above attributes on your
Custom Action.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer


-----Original Message-----
From: Andy.Kruger [mailto:appr...@gmail.com] 
Sent: 08 March 2010 12:56
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Set a registry value upon clicking finish
button


I have added custom action to Finish button that launches a C# exe. 
Also I have added an admin manifest to say that it requires elevation.
It sets the registry value on Windows XP. But when i run the installer
on Vista with UAC enabled and click finish button, its neither updating
the registry nor throwing the UAC prompt.

Am i missing something here??

Please help

-----
Andy
MSI Developer
Schneider Electric:working:

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to