Google Groups Home
Help | Sign in
Message from discussion "Set Windows Installer Property" through Wise script
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
Villy  
View profile
 More options Oct 8 2004, 2:21 am
Newsgroups: microsoft.public.platformsdk.msi
From: vilasshew...@yahoo.co.in (Villy)
Date: 7 Oct 2004 23:21:01 -0700
Local: Fri, Oct 8 2004 2:21 am
Subject: "Set Windows Installer Property" through Wise script
Hi,

I am using a Wise Script which detects the presence of application
running on destination pc and prompts user for take action. If user
says "NO" to terminate the application then my installer MSI should
abort its execution instead of continuing it. By clicking "Yes",
script should close the running application and continue its
execution.

I am using "Set Windows Installer Property" action in my wise script
to change the property value of MSI; "TERMINATE" from "0" to "1" after
user choses "No" in message box.

When I execute the MSI it first prompts whether I want to terminate
the application or not. When I chose "Yes"; script closes the running
application and continues its sequence. But when I chose "NO" and then
problem arise. It prompts me following message,

"The script action, Set Windows Installer Property, can only be used
in a script that is executed by Wise for Windows Installer"

I am using custom action(CA) "Execute Program from Installation". I am
placing this CA in "Normal User Interface" before "Launch Condition"
with "Immediate Execution". This CA executes my Wise Script
executable. I have also added "Terminate Installation" CA which
terminate installation by using property condition "TERMINATE = 1".

My basic aim is to abort the installation when user choses "NO" in
message box of executable. My MSI should come to know about the
termination of execution sequence. Can anybody shed some light to
solve my problem?

Thanks in advance.

Best regards,

Villy


    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.

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