Find the Best Cosmetic Hospitals

Explore trusted cosmetic hospitals and make a confident choice for your transformation.

“Invest in yourself — your confidence is always worth it.”

Explore Cosmetic Hospitals

Start your journey today — compare options in one place.

Install external program from CDROM drive

InstallerGeek created the topic: Install external program from CDROM drive
I searched all over the Wix but couldn’t find anywhere how to install application from cdrom drive.

I have wix install which should install SQL Server 2008 based on user selection. Say, if user selects client install I don’t have to install SQL Server but if he selects Server install then I have to install it and SQL Server folder is on the CD.

CD ROM Directory structure looks like this CD\Setup.exe – Wix Installer with BootStrapper to Install .NET Framework.

CD\SQLSERVER2008 – this folder includes x86 and x64 installer for SQL Server 2008 Express Edition.

I need one to install SQL Server from the CD Folder.

Something like


applicationPackaging replied the topic: Re: Install external program from CDROM drive
You can’t generally launch one install program from within another.
However, I am not familiar with the specifics of this scenario, so, maybe?

InstallerGeek replied the topic: Re: Install external program from CDROM drive
In InstallShield, its very simple I can literally launch any program using LaunchAppAndWait(SOURCEFOLDER\SQLServer2008\setup.exe) but here I can’t find any tutorials or sample or even a code snippet to say you can do that.

applicationPackaging replied the topic: Re: Install external program from CDROM drive
Don’t take what I said the wrong way. WiX is just an MSI authoring tool, and as such has many of the same or comparable capabilities that InstallShield does (I’ve used both and much prefer WiX). It’s just that launching one installer from within another is not something Microsoft supports or allows with the current MSI technology (InstallSheild or WiX). However, if your Setup.exe doesn’t ultimately run an MSI, then maybe.

Snag a verbose log file and see what is says. We use a Setup.exe that launches our installer with logging, as a verbose log file is critical for debugging many issues.

Good luck with your project.

InstallerGeek replied the topic: Re: Install external program from CDROM drive
Thanks, I will try that.

I was thinking of using a CustomAction to run the external program, which I already do for creating a database from the installed folder, but all I wanted is access CDROM drive (Source Drive) to execute a CustomAction. I thought that can be done?

applicationPackaging replied the topic: Re: Install external program from CDROM drive
I do have a CustomAction that references the SourceDir for its data files, but unlike yours the main executable that I run is on the Hard Disk. Still, a working example might be of some use so I have pasted it below.

applicationPackaging replied the topic: Re: Install external program from CDROM drive
You need CA Type 34 ( blogs.technet.com/alexshev/archive/2008/…-custom-actions.aspx ) and use [SourceDir] (instead of [cdromdir]).
Still, bootstrapper is probably a better choice to install SQL prerequisite.

applicationPackaging replied the topic: Re: Install external program from CDROM drive
And, maybe I should point out that you might actually need two CustomAction entries to run one program. Here’s mine

The first one sets up the command line to use.

The second one is what actually gets run. Notice how ExeCommand points back to the Property defined in the first one.

InstallerGeek replied the topic: Re: Install external program from CDROM drive
So my code would be something like this

Does the Directory=”SourceDir” exists?

InstallerGeek replied the topic: Re: Install external program from CDROM drive
CA Type 34 – does it give me the D:\ drive (CD ROM Drive). If it does then half problem is solved.

Yes, I wish bootstrapper – I do have it but got to remove it, well requirements are that we need to install items on demand based on user selection.

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at <a href="https://www.cotocus.com/">Cotocus</a>. I share tech blog at <a href="https://www.devopsschool.com/">DevOps School</a>, travel stories at <a href="https://www.holidaylandmark.com/">Holiday Landmark</a>, stock market tips at <a href="https://www.stocksmantra.in/">Stocks Mantra</a>, health and fitness guidance at <a href="https://www.mymedicplus.com/">My Medic Plus</a>, product reviews at <a href="https://www.truereviewnow.com/">TrueReviewNow</a> , and SEO strategies at <a href="https://www.wizbrand.com/">Wizbrand.</a> Do you want to learn <a href="https://www.quantumuting.com/">Quantum Computing</a>? <strong>Please find my social handles as below;</strong> <a href="https://www.rajeshkumar.xyz/">Rajesh Kumar Personal Website</a> <a href="https://www.youtube.com/TheDevOpsSchool">Rajesh Kumar at YOUTUBE</a> <a href="https://www.instagram.com/rajeshkumarin">Rajesh Kumar at INSTAGRAM</a> <a href="https://x.com/RajeshKumarIn">Rajesh Kumar at X</a> <a href="https://www.facebook.com/RajeshKumarLog">Rajesh Kumar at FACEBOOK</a> <a href="https://www.linkedin.com/in/rajeshkumarin/">Rajesh Kumar at LINKEDIN</a> <a href="https://www.wizbrand.com/rajeshkumar">Rajesh Kumar at WIZBRAND</a> <a href="https://www.rajeshkumar.xyz/dailylogs">Rajesh Kumar DailyLogs</a>

Related Posts

Complete Guide to Software Packaging and Application Packaging

Here’s a comprehensive, in-depth tutorial covering all your sections and topics with enriched details. 1️⃣ What is a Package? A package is a namespace that organizes a…

Read More

Best & Most Popular 5 Code Editor for VBA programming Language

Visual Basic for Applications (VBA) is an implementation of Microsoft’s event-driven programming language Visual Basic 6, which was declared legacy in 2008, and is an associated integrated…

Read More

Best & Most Popular 5 Code Editor for R programming Language

What is the R programming language and how to work? R is an open-source programming language and is a free software environment for statistical computing. R was…

Read More

List Of Top 14 free Blogging websites in 2021 – I verified

What is Blogging :-A discussion or informational website published on the World Wide Web is called A Blog consisting of discrete, often informal diary-style posts. Posts are typically…

Read More

Top 5 Easy to USE and Best International Money Transfer Platform Online

International payments are still difficult to make without a third-party money transfer provider. Transfer apps offer the ability to send money across the world using different currencies…

Read More

How to Download Free O’Reilly Books?

Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I have worked at Cotocus. I share tech blog at DevOps School, travel stories at Holiday…

Read More
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x