orge.net
> Betreff: Re: [WiX-users] Writing to ProgramFolder with Custom Action
> Dll in C++
>
> On 14-Jul-11 18:31, Michael Ganz wrote:
> > MsiGetPropertyA(hInstall, "INSTALLDIR",
> _pcKeyPath,&_dKeyPathLen);
> > ...
> > MsiSetPropertyA(h
On 14-Jul-11 18:31, Michael Ganz wrote:
> MsiGetPropertyA(hInstall, "INSTALLDIR", _pcKeyPath,&_dKeyPathLen);
> ...
> MsiSetPropertyA(hInstall, "KEYWRITESUCCESS", "0");
>
Deferred custom actions can't read or write property values. See
"Obtaining Context Information for Deferred Execu
, 2011 1:47 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Writing to ProgramFolder with Custom Action Dll in C++
Thought I've done this with:
Michael
> -Ursprüngliche Nachricht-
> Von: Wilson, Phil [mailto:phil.wil...@inv
wix-users@lists.sourceforge.net
> Subject: [WiX-users] Writing to ProgramFolder with Custom Action Dll in
> C++
>
> Hello List,
>
>
>
> I'm using WiX for creating a setup with a keyfile with openSSL.
>
> The keyfile has to be placed in the ProgramFolderDir.
&g
Have you set InstallPrivileges="elevated" on the Package element ?
-Original Message-
From: Michael Ganz [mailto:michael_g...@t-online.de]
Sent: 14 July 2011 23:32
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Writing to ProgramFolder with Custom Action Dll in C++
Custom actions need to be deferred to run with elevated privilege.
Phil Wilson
-Original Message-
From: Michael Ganz [mailto:michael_g...@t-online.de]
Sent: Thursday, July 14, 2011 3:32 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Writing to ProgramFolder with Custom
Hello List,
I'm using WiX for creating a setup with a keyfile with openSSL.
The keyfile has to be placed in the ProgramFolderDir.
After creating the key with the Custom Action, I push it in a Property
called "LICENSE".
Another function should write this file to the products shortname wit
7 matches
Mail list logo