Re: [WiX-users] Wix C++ variables

2012-08-14 Thread Natalie Carr
ssage- From: Bruce Cran [mailto:br...@cran.org.uk] Sent: 14 August 2012 11:37 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Wix C++ variables On 14/08/2012 11:00, Natalie Carr wrote: > Have you any sample code for the WcaSetProperty, from looking online > I'm not getting

Re: [WiX-users] Wix C++ variables

2012-08-14 Thread Bruce Cran
On 14/08/2012 11:00, Natalie Carr wrote: > Have you any sample code for the WcaSetProperty, from looking online I'm not > getting a clear picture (maybe it's just me..:() I think you should be able to replace: MsiSetProperty(hInstall, "ProductName", szLocalPath); with: WcaSetProperty(L"Product

Re: [WiX-users] Wix C++ variables

2012-08-14 Thread Natalie Carr
I don't think I can use WcaSetProperty as my function Orc_Get_Product_Name is returning a char -Original Message- From: Bruce Cran [mailto:br...@cran.org.uk] Sent: 14 August 2012 10:38 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Wix C++ variables On 14/08/2012

Re: [WiX-users] Wix C++ variables

2012-08-14 Thread Natalie Carr
ve you any idea how I could achieve this? Thanks so much for your help -Original Message- From: Bruce Cran [mailto:br...@cran.org.uk] Sent: 14 August 2012 10:38 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Wix C++ variables On 14/08/2012 09:48, Natalie Carr wrote: > M

Re: [WiX-users] Wix C++ variables

2012-08-14 Thread Bruce Cran
On 14/08/2012 09:48, Natalie Carr wrote: > MsiSetProperty(hInstall, "ProductName", szLocalPath); You might want to use WcaSetProperty (and the other Wca* functions) instead since they're a bit simpler. -- Bruce Cran -

Re: [WiX-users] Wix C++ variables

2012-08-14 Thread Peter Shirtcliffe
Yes, a property is the easiest way to share data between an immediate CA and the wix code. It's also possible to temporarily alter the MSI database at install time if you want Windows Installer to alter the system state for you, such as adding or changing rows in the registry table. http://www.jo