Re: [WiX-users] Elevated privileges on a repair

2011-11-14 Thread Anand, Animesh
Hi Deepa, I think your CA's to add these registry entries are being run on both Install and repair. So, your CA for these must be like 1. You should change it to: Also, you would need to schedule custom actions that do/undo the desired activities on repair too. It might be that your missing sch

[WiX-users] Feature level not getting set based on property

2011-08-03 Thread Anand, Animesh
Hi, I have some public properties in my Wix setup project. I am not using the WixUI_FeatureTree. Instead I have checkboxes on my custom dialogs to set the public properties which would later be used to set the level for a feature. This works fine when I install using UI. But, if I use silent ins

Re: [WiX-users] QuietExec in CA

2011-07-25 Thread Anand, Animesh
: QuietExec((LPWSTR)(cmdToEx.c_str()),1000);. You can't transform char* to LPWSTR this way. -Maksim -Original Message- From: Anand, Animesh [mailto:animesh.an...@igatepatni.com] Sent: Monday, July 25, 2011 1:58 PM To: General discussion for Windows Installer XML toolset. Subject: Re:

Re: [WiX-users] QuietExec in CA

2011-07-25 Thread Anand, Animesh
ec(pwzCommand, 60000); ExitOnFailure(hr, "QuietExec Failed"); -Maksim -Original Message- From: Anand, Animesh [mailto:animesh.an...@igatepatni.com] Sent: Monday, July 25, 2011 1:26 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] QuietExec in CA

Re: [WiX-users] QuietExec in CA

2011-07-25 Thread Anand, Animesh
C:\Windows\system32\calc.exe" and not "C:\\Windows\\system32\\calc.exe". Just a guess. -Original Message- From: Anand, Animesh [mailto:animesh.an...@igatepatni.com] Sent: 25 July 2011 09:44 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users

Re: [WiX-users] QuietExec in CA

2011-07-25 Thread Anand, Animesh
d the file specified". With "LOGVERBOSE=1" you will see the command line which QuiteExec runs (this is not the same as just specifying /v flag for .msi). QuiteExec works fine from a C++ CA. -Maksim -Original Message- From: Anand, Animesh [mailto:animesh.an...@igatepatni.c

Re: [WiX-users] QuietExec in CA

2011-07-25 Thread Anand, Animesh
he path is incorrect. -Maksim -----Original Message- From: Anand, Animesh [mailto:animesh.an...@igatepatni.com] Sent: Monday, July 25, 2011 9:47 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] QuietExec in CA Hi, I am passing the exe I need to execute in quotes,

Re: [WiX-users] QuietExec in CA

2011-07-24 Thread Anand, Animesh
Hi, I am passing the exe I need to execute in quotes, with its complete path. In the msi log I see: CallQEx: Initialized. CallQEx: Error 0x80070002: Command failed to execute. Action ended 10:07:13: CallQEx. Return value 1. Where CallQEx is the C++ CA from where I call QuietExec. Has anyone of u

[WiX-users] Component part of a feature not getting installed, even when feature is set to be installed

2011-07-22 Thread Anand, Animesh
From: Anand, Animesh Sent: Friday, July 22, 2011 4:15 PM To: 'WiX-users@lists.sourceforge.net' Subject: Component part of a feature not getting installed,even when feature is set to be installed Hi, I have components in my installer which are part of