On 23/07/2012 13:20, chasewoofe...@gmail.com wrote:
> You will need to set a PUBLIC parameter before you call the custom action,
> then you set the parameter from within the dll custom action.
You can do this with the MsiSetProperty() function.
Rob
-
On 23/07/2012 13:20, chasewoofe...@gmail.com wrote:
> You will need to set a PUBLIC parameter before you call the custom action,
> then you set the parameter from within the dll custom action.
You can do this with the MsiSetProperty() function.
Rob
-
You will need to set a PUBLIC parameter before you call the custom action, then
you set the parameter from within the dll custom action.
>From my Android phone on T-Mobile. The first nationwide 4G network.
- Reply message -
From: "Natalie Carr"
To:
Subject: [WiX-users]
Hello,
Can you help me please> My customers will have a certain program installed
but every customer has it as a different names stored on the registry that I
dont have access to. My dll function checks all of the possibilities that it
could be under and installs this new add on to that same lo
ne 21, 2012 12:44 PM
Subject: Re: [WiX-users] custom action dll not getting called, debugging advice
thanks everyone for the replies.
i've changed:
to:
and i left my InstallExecuteSequence sequence intact and now the logfile
output from the MSI shows that the MSI is attempting to
toolset.
Subject: Re: [WiX-users] custom action dll not getting called, debugging advice
thanks everyone for the replies.
i've changed:
to:
and i left my InstallExecuteSequence sequence intact and now the logfile output
from the MSI shows that the MSI is attempting to call into m
your log file right before or after you expect your custom action to be
> > called. Another thing to do would be to introduce logging via the MSI
> API's
> > inside your custom action for the beginning and ending points.
> >
> > Jacob
> >
> > -
ing via the MSI API's
> inside your custom action for the beginning and ending points.
>
> Jacob
>
> -Original Message-
> From: Joe Damato [mailto:j...@boundary.com]
> Sent: Tuesday, June 19, 2012 1:13 PM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [W
inside your custom
action for the beginning and ending points.
Jacob
-Original Message-
From: Joe Damato [mailto:j...@boundary.com]
Sent: Tuesday, June 19, 2012 1:13 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] custom action dll not getting called, debugging adv
hi -
this morning i tried installing my msi without using a full UI and noticed
that the logfile output by the installer shows the dll getting hit.
it seems that InstallExecuteSequence (or the way i am using it) only
happens during non-UI installs. i am currently reading docs about
InstallUISeque
hi -
i've written a dll which hits a REST api that my app needs to hit to
register its existence with the server, but for some reason or another it
seems that my dll is not being hit. i've built a simple exe that links
against the dll and that exe works, so i know my dll works at least when
linked
chr...@deploymentengineering.com; General discussion for Windows
Installer XML toolset.
Subject: Re: [WiX-users] Custom action dll that depends on another dll
A.DLL is a C++ dll in binary table.
On Jan 6, 2011, at 18:09, Christopher Painter
wrote:
> I would need more information to be able
Christopher Painter, Author of Deployment Engineering Blog
> Have a hot tip, know a secret or read a really good thread that deserves
> attention? E-Mail Me
>
>
> --- On Thu, 1/6/11, Alex Ivanoff wrote:
>
>> From: Alex Ivanoff
>> Subject: [WiX-users] Custom actio
that deserves
attention? E-Mail Me
--- On Thu, 1/6/11, Alex Ivanoff wrote:
> From: Alex Ivanoff
> Subject: [WiX-users] Custom action dll that depends on another dll
> To: wix-users@lists.sourceforge.net
> Date: Thursday, January 6, 2011, 5:34 PM
> Let's say I have a custo
Let's say I have a custom action dll A.DLL that depends on B.DLL. Is there
a way to make it work?
--
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize t
On 05/01/2011 17:15, Andy Clugston wrote:
> Yes, that was it!
>
I am glad it worked.
note: extern "C" is not needed.
> I guess I have been out of native development too long... Thanks for the
> reminder on the function export.
>
> Thanks again!
>
> On Wed, Jan 5, 2011 at 10:50 AM, Leonidas Spyrop
Yes, that was it!
I guess I have been out of native development too long... Thanks for the
reminder on the function export.
Thanks again!
On Wed, Jan 5, 2011 at 10:50 AM, Leonidas Spyropoulos <
leonidas.spyropou...@formicary.net> wrote:
> On 05/01/2011 15:30, Andy Clugston wrote:
> > Hi Users,
On 05/01/2011 15:30, Andy Clugston wrote:
> Hi Users,
Hey Andy,
>
> I am running into a bit of an issue while attempting to hook a C++ dll
> custom action into my installer. From all my research and debugging it
> appears that I have things setup properly. I have some tracing (message
> boxes) to
Hi Users,
I am running into a bit of an issue while attempting to hook a C++ dll
custom action into my installer. From all my research and debugging it
appears that I have things setup properly. I have some tracing (message
boxes) to indicate when DLLMain is entered/exited as well as my CA functio
R) [mailto:u...@cdc.gov]
Sent: Wednesday, November 24, 2010 3:33 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom Action DLL getting Error 1723
THANK YOU!
I was using a standard C# class library project type (apparently I was blind
to the other WiX project ty
, 2010 8:36 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Custom Action DLL getting Error 1723
Did you create your CA DLL using the WiX DTF CA project types?
-Original Message-
From: Pound, Robert (CDC/OCOO/ITSO) (CTR) [mailto:u...@cdc
Did you create your CA DLL using the WiX DTF CA project types?
-Original Message-
From: Pound, Robert (CDC/OCOO/ITSO) (CTR) [mailto:u...@cdc.gov]
Sent: Tuesday, November 23, 2010 6:03 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Custom Action DLL
ov]
Sent: Tuesday 23 November 2010 15:30
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Action DLL getting Error 1723
I have a wix install with 2 custom actions. One is for a EXE and the other is
for a DLL (see below). The .EXE custom action is invoked correctly. However,
t
I have a wix install with 2 custom actions. One is for a EXE and the other is
for a DLL (see below). The .EXE custom action is invoked correctly. However,
the DLL custom action gets an error 1723 (see install log snippet and source
code below).
Since others are having success with DLL custo
Hello, anyone can answer my question? I found that this question has zero views
in the forum.
Thank you.
Best regards,
Shao Voon
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build
Hi guys,
I am using WiX 2.0. I have a custom action dll which is written in C. The
custom action doesn't get executed. Even though I checked that its function
ordinal
number is really 4. My dll is 9KB in size but my MSI is only increased by 1 KB
with the custom action added. I have checked th
Lionel Pinkhard wrote:
I just don't understand why nobody's done it already, am I the only
one who needs ShellExec?
Huh? I did do it already. It's shipping.
--
sig://boB
http://bobs.org
-
Take Surveys. Earn Cash. Influenc
I just don't understand why nobody's done it already, am I the only one who
needs ShellExec?
- Original Message -
From: Bob Arnson
To: Rob Mensching
Cc: Wilson, Phil ; wix-users@lists.sourceforge.net
Sent: Saturday, January 06, 2007 7:06 AM
Subject: Re: [WiX-use
Rob Mensching wrote:
Why don't you guys just look at the authoring and CustomAction code
for this in WiX v3? It should be trivial to port that to WiX v2
syntax and build it yourself... Bob's already done the testing and
would probably save you a lot of trouble.
And there's even a sample
PROTECTED] On Behalf Of Wilson, Phil
Sent: Friday, January 05, 2007 09:52
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom Action DLL
That code doesn't check the value returned by ShellExecute - for all you know
it's returning ERROR_FILE_NOT_FOUND. I'd also put a d
om: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Levi
Wilson
Sent: Friday, January 05, 2007 7:06 AM
To: Lionel Pinkhard; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Custom Action DLL
Can I see how you have your .wxs file setup to call this?
On 1/5/07, Lionel Pinkha
,
IN ULONG ulReason,
IN LPVOID)
{
switch(ulReason)
{
case DLL_PROCESS_ATTACH:
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}
- Original Message -
*From:* Levi Wilson <[EMAIL PROTECTED]>
*To:* wix-users@lists.sourceforge.net ; [EMAIL PROTECTED]
*Sent:* Thursday, January
[WiX-users] Custom Action DLL
Lionel Pinkhard wrote:
I'm trying to write a custom action DLL that looks up an MSI variable and
then shellexecutes it, this is turning out to be extremely difficult, as if I
call ShellExecute in Win32 API (using C++), it just does nothing, everything in
t
Lionel Pinkhard wrote:
I'm trying to write a custom action DLL that looks up an MSI variable
and then shellexecutes it, this is turning out to be extremely
difficult, as if I call ShellExecute in Win32 API (using C++), it just
does nothing, everything in the code appears to be working, but it
Anohter thing:
When you are calling the ShellExecute function from .exe file the
program runs in the context of current user.
But
When you are calling the ShellExecute function from the deferred
custom action it can run in the context of Local system accont (if
it is not impersonated). It means t
Yeah, the code would help a lot. That way I would be able to take a closer
look at it to see what you're trying to do here. Did you also check the
returned string from the MsiGetProperty call to ensure that the parameter
that you're passing to ShellExecute is a valid path? You might want to thro
p files that were installed? I mean, without
writing a whole Zip handler?
Regards,
Lionel
- Original Message -
From: Levi Wilson
To: wix-users@lists.sourceforge.net ; [EMAIL PROTECTED]
Sent: Thursday, January 04, 2007 3:28 PM
Subject: Re: [WiX-users] Custom Action DLL
I beli
I believe that if it is a deferred CA you will have limited access to the
MSI database (The "CustomActionData" property only pretty much). Are you
checking the return value from the MsiGetProperty? Maybe post your C++ code
so we can take a look at it, but first of all, can you also throw in a
Me
Hi,
I'm trying to write a custom action DLL that looks up an MSI variable and then
shellexecutes it, this is turning out to be extremely difficult, as if I call
ShellExecute in Win32 API (using C++), it just does nothing, everything in the
code appears to be working, but it just does nothing, i
: WiX ListanSubject: Re:
[WiX-users] Custom Action DLL giving me 1723 ...
None
of the "old" CA's worked from an installation (but work when called from a
'normal' application). I've continued to test and found out that the
'Release'build works but no
my debug-stuff that mess things up.
My
guess is that the 'MSI46.tmp'-file is the DLL, and then it should be +280kb
...
/Jonas
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob
ArnsonSent: den 2 oktober 2006 17:00To: Jonas Jonsson L
(AL/EAB)Cc: WiX L
Jonas Jonsson L (AL/EAB) wrote:
The
DLL (and the new functionality) has of course been tested (on W2K &
W2K3s) outside of an installation, and works just as expected, but when
I try to access ANY functionality in the DLL, I get an Error 1723 and
the installation fails.
Do the other
Hello
world,
I've written a CA
that creates a user-group on the target machine during install. My DLL was
not depending on any other libraries exept for "msi.lib" before I added this
functionality, but now I also have a dependency towards netapi32.lib when
building (and of course all the
Ok I got it working now thanks again for your help
--
View this message in context:
http://www.nabble.com/Custom-Action-Dll-problem-tf2042392.html#a5623375
Sent from the wix-users forum at Nabble.com.
-
Take Surveys. Earn
WcaGetProperty() isn't being used anywhere else this is the only call.
What I need to do is combine My license with DX License, but if I leave in
the code for
getting the DXEULA the entire program doesn't even run weird.
I tried with both allocation of memory and tried to see if maybe the fuction
"ReleaseStr(pwzLicense);" to free the string.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Magus
Sent: Wednesday, August 02, 2006 2:21 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Action Dll problem
Not that my other pr
Not that my other problem has a solution yet, but I've move on to try to get
something done. I am no having a problem trying to use the WcaGetProperty
function. I have a property [License]
I call the function using
WCHAR l_wcLicense[2];
HRESULT hResult = WcaGetProperty(L"EULA", l_wcLicense);
47 matches
Mail list logo