Google Groups Home
Help | Sign in
To get directory where the MSI is placed
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
  2 messages - Collapse all
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
Hitz  
View profile
 More options May 8, 8:30 am
Newsgroups: microsoft.public.platformsdk.msi
From: Hitz <hitesh_impossi...@yahoo.co.in>
Date: Thu, 8 May 2008 05:30:52 -0700 (PDT)
Local: Thurs, May 8 2008 8:30 am
Subject: To get directory where the MSI is placed
I am creating a MSI in Visual Studio 2003 and in that the custom
actions are carried out by dll. The function in the dll which is the
entry point contains the Handle to the MSI.To extract the folder where
the MSI is placed i had used SourceDir property and before that i i
had called "ResolveSource" property. But when I am retriving the value
of SourceDir i am getting ERROR_INVALID_HANDLE error. So can any one
guide me for this.

    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 May 8, 12:45 pm
Newsgroups: microsoft.public.platformsdk.msi
From: "Phil Wilson" <phil.wil...@wonderware.something.com>
Date: Thu, 8 May 2008 09:45:34 -0700
Local: Thurs, May 8 2008 12:45 pm
Subject: Re: To get directory where the MSI is placed
You might be better off using the OriginalDatabase property. This kind of
thing is tricky. I'm guessing that you want to get hold of some other files
in the same place as the MSI for some reason, but you need to be careful
that you conditon things right. If an uninstall demanded the CD image
because of your ResolveSource that would be rather unfriendly.
--
Phil Wilson
Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972

"Hitz" <hitesh_impossi...@yahoo.co.in> wrote in message

news:838a1156-5daa-4b23-aace-9dde25771859@q27g2000prf.googlegroups.com...


    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 »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google