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 149111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:04:40+00:00 2026-05-11T09:04:40+00:00

I have been able to trigger C# custom actions to overrride install and committ

  • 0

I have been able to trigger C# custom actions to overrride install and committ stages of an MSI. However, when deploying an ASP.NET app I wish to be able to perform checks before the install even begins.

I know that there are launch conditions, however, I would like to be able to plug in my own code here to handle checks upon launch myself as from what I see the Launch conditions are simply for checking the correct versions of IIS etc?

Could anyone point me in the right direction here, or even if there is a way to get the Launch conditions to fire some C#?

  • 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. 2026-05-11T09:04:41+00:00Added an answer on May 11, 2026 at 9:04 am

    I think that using a custom action to set a property value and then running a launch condition to check the property value would be one way. However this doesn’t seem to apply to VS Installation Projects, since the custom actions doesn’t run until after the launch conditions. WiX will allow greater control and should allow custom actions to be performed earlier.

    A crude way of doing it would be to have the custom action throw an exception and have the installation rolled back, but that would be an ugly hack.

    I found a forum thread discussing how to check if a certain service is running on installation that perhaps can lead you in the correct direction.

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

Sidebar

Related Questions

I'm having problems refreshing .Net 2.0 with IIS 6. I have been able to
I'm trying to install bcrypt-ruby on Windows Vista. So far, I have been able
I have been able to design my layout so that it has 2 columns
I have been able to set up OBDC in Filemaker, and added table ,
Hi I have been able to extract a VARCHAR to a date using string_to_date
What I have been able to grasp from reading the source and documentation from
I have this excel file which I have been able to write the data
So far the only way I have been able to keep index.yaml updated when
I've been reading similar questions to this issue and have been able to get
My knowledge of xml and php is somewhat basic but have been able to

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.