Re: [WiX-users] Custom Action to verify input

2011-11-23 Thread Kevin Hebert
ce, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.s

Re: [WiX-users] Custom Action to verify input

2011-11-23 Thread Kevin Hebert
ld be any licensing issues there). > > > -Original Message- > From: Kevin Hebert [mailto:ke...@legendary-immersion.com] > Sent: Wednesday, November 23, 2011 9:39 AM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Custom Action to verify inp

Re: [WiX-users] Custom Action to verify input

2011-11-28 Thread Kevin Hebert
The reason is that we already have a file project in place that is storing all of the custom actions that are used for the project. I'm not overly allowed to change any of the parameters, except by figuring out how to link to the wcautil library, which I'm working on again now that I'm no long

Re: [WiX-users] Custom Action to verify input

2011-11-28 Thread Kevin Hebert
I've got everything linked properly. However, I'm now getting can't convert LPWSTR * to const wchar_t * on the following section of code: if(wcslen(userName) == 0) { hr = WcaSetProperty(L"UserInfoError", L"Please enter your name."); WcaLog(LOG

Re: [WiX-users] Custom Action to verify input

2011-11-28 Thread Kevin Hebert
Here's the whole of the function: UINT __stdcall VerifyUserInformation( __in MSIHANDLE hInstall ) { LPWSTR userName = NULL; LPWSTR email = NULL; HRESULT hr = S_OK; UINT er = ERROR_SUCCESS; hr = WcaInitialize(hInstall, "VerifyUserInformation"

Re: [WiX-users] Custom Action to verify input

2011-11-28 Thread Kevin Hebert
Jacob, you mentioned in an earlier post you linked against Version.lib. I did a search on my machine for that and found 13 Version.lib files. Which one are you referring to? -- All the data continuously generated in you

Re: [WiX-users] Custom Action to verify input

2011-11-29 Thread Kevin Hebert
I'm getting several errors for unresolved externals: Error7error LNK2005: _WcaSetProperty@8 already defined in installerdll.objwcautil_2010.libInstallerDLL Error8error LNK2019: unresolved external symbol _VerQueryValueW@16 referenced in function _FileVersion@12 dutil_

Re: [WiX-users] Custom Action to verify input

2011-11-29 Thread Kevin Hebert
Finally got the linker errors resolved. I run my msi, and if I leave the name or email blank, instead of an error, the installer just quits. Here's the CA: UINT __stdcall VerifyUserInformation(__in MSIHANDLE hInstall) { wchar_t *filePath = L"C:\\Log.txt"; log(filePath, L"Inside Verif

Re: [WiX-users] Custom Action to verify input

2011-11-29 Thread Kevin Hebert
I was using the companies custom logs, as I'm not sure where the wcalog is being saved, or the name of that file. Also, I'm not getting any kind of error that the user can see or prevent the page from switching when they fail to put something in the appointed boxes. ---

Re: [WiX-users] Custom Action to verify input

2011-11-30 Thread Kevin Hebert
I ran the above. Didn't find any of my logs in the output log. Anything in particular I should be looking for? -- All the data continuously generated in your IT infrastructure contains a definitive record of customers,

[WiX-users] Accessing file in MSI before it's installed

2012-01-03 Thread Kevin Hebert
I have an sslConnect function which requires a file that is normally installed before the function is called. However, due to a change in what the client wants, I need to call the function before its installed. Is there a way to access the file before installation? Thanks. -- Kevin Hebert

Re: [WiX-users] Accessing file in MSI before it's installed

2012-01-03 Thread Kevin Hebert
ve a custom action call it: > > > > > -Adam > > On Tue, Jan 3, 2012 at 12:06 PM, Kevin Hebert> wrote: >> I have an sslConnect function which requires a file that is normally >> installed before the function is called. However, due to a change in >> w

Re: [WiX-users] Accessing file in MSI before it's installed

2012-01-03 Thread Kevin Hebert
This might sound incredibly silly, but can a custom action have more than one BinaryKey? I currently have: Currently, the BinaryKey here is the file that holds the custom action. But I'm wanting to access a server and root pem file. Thanks. On 1/3/2012 12:35 PM, Kevin Hebert

Re: [WiX-users] Accessing file in MSI before it's installed

2012-01-03 Thread Kevin Hebert
pem files as resources inside the DLL? Someone else > might have a better solution though. > > -Adam > > On Tue, Jan 3, 2012 at 1:14 PM, Kevin Hebert > wrote: > >> This might sound incredibly silly, but can a custom action have more >> than one BinaryKey? I curre

Re: [WiX-users] Accessing file in MSI before it's installed

2012-01-03 Thread Kevin Hebert
nt before printing this e-mail > >> -Original Message- >> From: Kevin Hebert [mailto:ke...@legendary-immersion.com] >> Sent: Tuesday, January 03, 2012 11:14 AM >> To: General discussion for Windows Installer XML toolset. >> Subject: Re: [WiX-users] Accessing fi

Re: [WiX-users] Accessing file in MSI before it's installed

2012-01-03 Thread Kevin Hebert
s is what I've got right now. However, if I try out output, SUPPORTDIR, it's empty. On 1/3/2012 3:57 PM, Kevin Hebert wrote: > The question is though, how do I extract it? I'd thought I was going > about it the right way, but apparently I'm not. > > > On 1/3/2012

Re: [WiX-users] Accessing file in MSI before it's installed

2012-01-06 Thread Kevin Hebert
ment. Create > new or port existing apps to sell to consumers worldwide. Explore the > Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join > http://p.sf.net/sfu/intel-appdev > ___ > WiX-users mailing list > WiX-users@lis

[WiX-users] Completely revert installation on install failure

2012-01-11 Thread Kevin Hebert
My installer is installing a service (which starts automatically upon installation) and a program. Now, if the install fails for any reason, the service is still installed, but fails to start. How can I go about doing a complete rollback upon failure? Is a custom action that calls the instal

Re: [WiX-users] Completely revert installation on install failure

2012-01-14 Thread Kevin Hebert
___ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- Kevin Hebert -- RSA(R) Conference 2012

Re: [WiX-users] Completely revert installation on install failure

2012-01-19 Thread Kevin Hebert
failure > > Yes, David Watson did at 2012-01-11 18:09:28 GMT: >> Rollback should and does happen automatically. If you have any custom >> actions they need to cater for this. What does a verbose log say? >> >> How are you installing the service, are you using the &