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

  • Home
  • SEARCH
  • 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 277233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T01:02:44+00:00 2026-05-12T01:02:44+00:00

I have an installer for which I don’t have any source code. I need

  • 0

I have an installer for which I don’t have any source code. I need to either “wrap” this installer or edit it to add a few more files. What’s the best way to do this? As the title mentions, the installer was written w/ ghost installer.

  • 1 1 Answer
  • 1 View
  • 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-12T01:02:45+00:00Added an answer on May 12, 2026 at 1:02 am

    Since it’s not an MSI, you can’t use Orca to edit the installer itself. And I have written custom install actions before as well for my MSI installers.

    Since you don’t have much control (if any) over your Ghost Installer, I would perhaps write a custom executable to supplement the installer, that can either run before or after the installer. This will create a few extra files to distribute to your customers, but you can distribute the entirety as a zip archive.

    First of all, if you want to create an unmanaged bootstrapper the same way Visual Studio does to ensure prerequisites are installed, you can do it through MSBuild with a script like the following:

    <Project ToolsVersion="3.5" DefaultTargets="BuildBootstrapper" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
    
      <ItemGroup>
        <BootstrapperFile Include="Microsoft.Net.Framework.2.0">
          <ProductName>Microsoft .NET Framework 2.0</ProductName>
        </BootstrapperFile>
      </ItemGroup>
    
      <Target Name="BuildBootstrapper">
        <GenerateBootstrapper
          ApplicationFile="CustomInstallerExecutable.exe"
          ApplicationName="Pretty Title of Application Goes Here"
          BootstrapperItems="@(BootstrapperFile)"
          ComponentsLocation="Relative" />
      </Target>
    
    </Project>
    

    This will produce a “setup.exe,” which is the de facto file name for any bootstrapper of an installer. In fact, if you wanted to ensure the user didn’t accidentally skip the bootstrapper and go straight to the installer, you could hide the Ghost Installer in a “bin” folder or something away from the root of the zip archive. That way, their only intuitive option is the “setup.exe.” Include a “README.txt” as well if you need to be extremely clear for the customer’s sake.

    What this bootstrapper also does is make sure the client has the .NET 2.0 Framework as a prerequisite so that your “CustomInstallerExecutable.exe” can be written in .NET and not in an unmanaged language. In fact, this MSBuild script will plop down the .NET 2.0 Framework installer right beside your newly create bootstrapper (because of the “Relative” value of the “ComponentsLocation” attribute). There are other attribute values you can use that will facilitate the user getting the .NET Framework over the Web instead, if you are concerned about bloating the original download size of your Ghost Installer download to your customers.

    Now your “CustomInstallerExecutable.exe” (written in beautiful, managed C#) can drop the extra files down on the machine before (or after) running the Ghost Installer. I have previously written some code to run an MSI from a .NET executable:

    string msiString = "blahBlah.msi";
    
    // Kick off Update installer
    ProcessStartInfo startInfo = new ProcessStartInfo(
        "cmd.exe",
        "/c start /wait msiexec.exe /i " + msiString);
    startInfo.WorkingDirectory = "bin";
    startInfo.WindowStyle = ProcessWindowStyle.Hidden;
    
    Process process = new Process
    {
        StartInfo = startInfo,
        EnableRaisingEvents = true
    };
    process.Exited += new EventHandler(process_Exited);
    
    process.Start();
    

    I think you could do something very similar to call your Ghost Installer instead of an MSI. If you are running this .NET executable before the Ghost Installer, you can just invoke the Ghost Installer process and then exit your “CustomInstallerExecutable.exe” process and not wait for the process.Exited event to fire. This event waiting would be more for running “after install” logic.

    Good luck and hope this is helpful.

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

Sidebar

Ask A Question

Stats

  • Questions 194k
  • Answers 194k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Turns out the default compile option changed from VS2003 to… May 12, 2026 at 6:47 pm
  • Editorial Team
    Editorial Team added an answer Yes it is. You can produce all stuff in the… May 12, 2026 at 6:47 pm
  • Editorial Team
    Editorial Team added an answer Well CString is a C++ class so doing it in… May 12, 2026 at 6:47 pm

Related Questions

I have an installer for which I don't have any source code. I need
I have an old legacy application around for which I only have the installer.
How do you remove or copy an eclipse plugin from one eclipse install to
Has anyone out there actually succeeded in creating a prerequisitie for o2003.msi? There are
I have an application that is a not so simple Windows service (C#). I

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.