Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 528339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T08:58:35+00:00 2026-05-13T08:58:35+00:00

We have our custom setup.exe program which launches a series of individial MSIs in

  • 0

We have our custom setup.exe program which launches a series of individial MSIs in synchronous manner. Scheme and command use to launch msi is :

msiexcehandle = CreateProcess("msiexec.exe /i  product.msi /qr")
WaitForSingleObject(msiexechandle, INFINITE)

Now we want to do the following – When user pressess the Stop button in setup.exe program then we would like to stop the installation completely. We can control the installation of any product msi which is yet to be started, but we did not find a way to send some event to already running installation (which is already launched using CreateProcess). We want to send Cancel event from the setup.exe to msiexec.exe’s created Progress dialog.

Please suggest some technique to perform this action. Is it possible to call a rollback on running installation from commandline?

FYI, we use Wise to create our MSIs and VS 2008 MFC to create our setup.exe.

-Kartlee

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T08:58:35+00:00Added an answer on May 13, 2026 at 8:58 am

    I don’t think this is possible as you describe. The two options I see are UI automation (simulate a click to the cancel button), or an external UI handler used with MsiInstallProduct() instead of CreateProcess().

    Note that in either case, you cannot always cancel the setup immediately or at all. While your setups may not do so, some setups will disable the cancel button at certain points because they know they cannot roll back cleanly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have our own custom calendar in our portal which is developed in Java.
In our system we have an entity Product , which might have various custom
I have added some custom actions to our installer which is run on CE5
I have a web.config of a functioning MOSS server with our custom settings and
We have a Hibernate based system with Annotations. Our entities have a custom property
We have a custom LocalizedString type used in our domain model. We want to
I have a custom WebForms application that is utilized for our helpdesk that does
In many of our projects I have seen a few custom collection / or
I'm using nant to build our product and have written a custom task to
We are using jQuery in our project. We have numerous custom javascript files in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.