Web Images Videos Maps News Groups Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
VC++ Custom Action Code
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alero  
View profile  
 More options Aug 24 2004, 11:11 am
Newsgroups: microsoft.public.platformsdk.msi
From: "Alero" <ale...@magnum-bank.com>
Date: Tue, 24 Aug 2004 02:11:56 +0100
Local: Tues, Aug 24 2004 11:11 am
Subject: VC++ Custom Action Code
Anyone know where I can get sample VC++ code to create a custom action DLL?
The platform SDK ones didnt compile properly. Was hoping that maybe someone
might know of an alternative source.

Thanks


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phil Wilson  
View profile  
 More options Aug 24 2004, 11:39 am
Newsgroups: microsoft.public.platformsdk.msi
From: "Phil Wilson" <pdjwil...@nospam.cox.net>
Date: Mon, 23 Aug 2004 18:39:24 -0700
Local: Tues, Aug 24 2004 11:39 am
Subject: Re: VC++ Custom Action Code
Coding example here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;253683
--
Phil Wilson
[MVP Windows Installer]
Definitive Guide to Windows Installer
http://www.amazon.com/exec/obidos/tg/detail/-/1590592972/104-7044380-...

"Alero" <ale...@magnum-bank.com> wrote in message

news:%23poVdaXiEHA.3264@tk2msftngp13.phx.gbl...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alero  
View profile  
 More options Aug 24 2004, 10:59 pm
Newsgroups: microsoft.public.platformsdk.msi
From: "Alero" <ale...@magnum-bank.com>
Date: Tue, 24 Aug 2004 13:59:20 +0100
Local: Tues, Aug 24 2004 10:59 pm
Subject: Re: VC++ Custom Action Code
Thanks. But any time I try to use any of the MSI API calls in code I get
compiler erors.

eg I try
MsiProcessMessage(hInstall, INSTALLMESSAGE(INSTALLMESSAGE_INFO), newHandle);

...and I get

error C2664: 'MsiProcessMessage' : cannot convert parameter 2 from 'enum
tagINSTALLMESSAGE' to 'enum tagMSIMESSAGE'
        Conversion to enumeration type requires an explicit cast
(static_cast, C-style cast or function-style cast)

I've already installed the MSI SDK/ Platform SDK (Feb 2003), and
 added the \include\ and \lib\ directories to the Visual Studio path, but no
joy.

Thanks

"Phil Wilson" <pdjwil...@nospam.cox.net> wrote in message

news:eLfqcrXiEHA.1644@tk2msftngp13.phx.gbl...
> Coding example here:
> http://support.microsoft.com/default.aspx?scid=kb;en-us;253683
> --
> Phil Wilson
> [MVP Windows Installer]
> Definitive Guide to Windows Installer

http://www.amazon.com/exec/obidos/tg/detail/-/1590592972/104-7044380-...

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phil Wilson  
View profile  
 More options Aug 25 2004, 3:58 am
Newsgroups: microsoft.public.platformsdk.msi
From: "Phil Wilson" <Phil.Wil...@unisys.spamcom>
Date: Tue, 24 Aug 2004 10:58:06 -0700
Local: Wed, Aug 25 2004 3:58 am
Subject: Re: VC++ Custom Action Code
Try including <msiquery.h> - this contains an include of msi.h so you don't
need both.
--
Phil Wilson [MVP Windows Installer]
----
"Alero" <ale...@magnum-bank.com> wrote in message

news:OJRXyldiEHA.3536@TK2MSFTNGP12.phx.gbl...

http://www.amazon.com/exec/obidos/tg/detail/-/1590592972/104-7044380-...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alero  
View profile  
 More options Aug 25 2004, 10:28 am
Newsgroups: microsoft.public.platformsdk.msi
From: "Alero" <ale...@magnum-bank.com>
Date: Wed, 25 Aug 2004 01:28:28 +0100
Local: Wed, Aug 25 2004 10:28 am
Subject: Re: VC++ Custom Action Code
Thanks Phil, but that doesnt work either. Its almost as if all the
declarations have changed since the Platform SDK 2003 release. Do you know
if there's a later release?

Thanks

"Phil Wilson" <Phil.Wil...@unisys.spamcom> wrote in message

news:%23$ZppPgiEHA.2992@TK2MSFTNGP12.phx.gbl...

http://www.amazon.com/exec/obidos/tg/detail/-/1590592972/104-7044380-...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Phil Wilson  
View profile  
 More options Aug 25 2004, 11:37 am
Newsgroups: microsoft.public.platformsdk.msi
From: "Phil Wilson" <pdjwil...@nospam.cox.net>
Date: Tue, 24 Aug 2004 18:37:53 -0700
Local: Wed, Aug 25 2004 11:37 am
Subject: Re: VC++ Custom Action Code
Make sure the order of includes and libs in your build has the Platform SDK
settings before the VS folders.
--
Phil Wilson
[MVP Windows Installer]
"Alero" <ale...@magnum-bank.com> wrote in message

news:OUm02mjiEHA.556@tk2msftngp13.phx.gbl...

http://www.amazon.com/exec/obidos/tg/detail/-/1590592972/104-7044380-...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alero  
View profile  
 More options Aug 26 2004, 1:05 am
Newsgroups: microsoft.public.platformsdk.msi
From: "Alero" <ale...@magnum-bank.com>
Date: Wed, 25 Aug 2004 16:05:12 +0100
Local: Thurs, Aug 26 2004 1:05 am
Subject: Re: VC++ Custom Action Code
Excellent! That worked! Thanks very much Phil.

"Phil Wilson" <pdjwil...@nospam.cox.net> wrote in message

news:uEdsSPkiEHA.348@TK2MSFTNGP10.phx.gbl...

http://www.amazon.com/exec/obidos/tg/detail/-/1590592972/104-7044380-...


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google