Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Control MsiInstallProduct return 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
  4 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
 
John McNamee  
View profile  
 More options Nov 7, 5:36 am
Newsgroups: microsoft.public.platformsdk.msi
From: John McNamee <JohnMcNa...@discussions.microsoft.com>
Date: Fri, 6 Nov 2009 10:36:08 -0800
Local: Sat, Nov 7 2009 5:36 am
Subject: Control MsiInstallProduct return code?
Is there any way for an MSI package to control the return code from
MsiInstallProduct?  I've got a chainer that installs several MSI packages in
sequence, and I'm looking for a simple way for packages to communicate a more
nuanced status than simply success/failure/reboot.

    Reply    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.
Wilson, Phil  
View profile  
 More options Nov 7, 10:15 am
Newsgroups: microsoft.public.platformsdk.msi
From: "Wilson, Phil" <ph...@wonderware.nospam.com>
Date: Fri, 6 Nov 2009 15:15:37 -0800
Local: Sat, Nov 7 2009 10:15 am
Subject: Re: Control MsiInstallProduct return code?
What other types of results are you looking for? There's no reason custom
actions can't store status or extended info about what happened in the
registry.  Success/failure/reboot is a consequence of the transactional
nature of the install - it either works or not. You have a say in what makes
it work or fail by using custom action return codes and so on.
--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972

"John McNamee" <JohnMcNa...@discussions.microsoft.com> wrote in message

news:98D0F3CA-C152-444B-9BE4-11E345EA9205@microsoft.com...


    Reply    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.
John McNamee  
View profile  
 More options Nov 12, 6:05 am
Newsgroups: microsoft.public.platformsdk.msi
From: John McNamee <JohnMcNa...@discussions.microsoft.com>
Date: Wed, 11 Nov 2009 11:05:01 -0800
Local: Thurs, Nov 12 2009 6:05 am
Subject: Re: Control MsiInstallProduct return code?
I was looking for a "failed, but that's OK" kind of status.

The situation is that I've got some packages that are only intended for
certain OS versions.  If I use the Condition table, the result is a general
error exit code.  I need my chainer to identify these situations, and handle
them as a NOP rather than an error.  Using the registry or some other back
channel for communicating this status is certainly possible, but I was hoping
for a cleaner solution.  I may just move the platform detection logic into
the chainer.

--John


    Reply    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.
Wilson, Phil  
View profile  
 More options Nov 12, 6:40 am
Newsgroups: microsoft.public.platformsdk.msi
From: "Wilson, Phil" <ph...@wonderware.nospam.com>
Date: Wed, 11 Nov 2009 11:40:01 -0800
Local: Thurs, Nov 12 2009 6:40 am
Subject: Re: Control MsiInstallProduct return code?
That's what I did with a chainer too, otherwise it becomes very unmanagable
with a whole bunch of MSI files with their launch conditions. It depends
what the chainer's purpose is. When collecting several MSIs to chain
together as a multi-MSI install that is a marketing product then there is
one UI that wraps them all and they all need to install in some way. That's
also the assumption behind the multi-MSI transactional things in MSI 4.x
where they all install or not.
--
Phil Wilson
The Definitive Guide to Windows Installer
http://www.apress.com/book/view/1590592972

"John McNamee" <JohnMcNa...@discussions.microsoft.com> wrote in message

news:78123CAD-6253-45C3-BAB2-BAFD12B06946@microsoft.com...


    Reply    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
©2009 Google