Solved

Windows Installer Direction Recommendation

Posted on 2009-05-05
1
369 Views
Last Modified: 2013-11-14
Microsoft Installer Help Request

I have what seems to be a simple project that I need to turn around very quickly, but there are several roads to possibly go down, and I keep hitting potential roadblocks, and I haven't fully implemented any solution. I'm looking for help to get the best possible path meaning it meets the requirements, and takes the least amount of time & money.

Short story is the application needs to do some file reads under program files or registry reads under HKLM, and then launch other executables contained within depending on the conditions met. Longer story below

The project is for installing a custom build of IE8, that was created using the IEAK. Distribution isn't a problem, we have our hands tied there, but the inputs are:
1) An .exe (or .msi) installer of IE8, customized
2) An .exe (or .msi) customizer of IE8, in case IE8 is already installed
3) An .exe for the Silverlight installer if #2 gets installed

There is some very basic logic needed to check if IE8 and Silverlight are already installed, so either registry reads, or file version reads are all that are necessary. The end result needs to be a single .exe file (not .msi)



I'm also mixed between a bootstrapper or installer, and lack experience with properly trigerring UAC for elevated permissions (if needed). The paths considered and drawbacks I have come up with:


1) Create a simple bootstrapper application
Anything from Visual Studio 6 up through Visual Studio 2008 is available and on the table at this point. Have seen various samples at CodeProject, but haven't gotten too far into testing.
Drawbacks:
  -Need to ensure compatiblity from Windows XP all the way through Server 2008, without requiring runtimes to be installed
  -Need to trigger appropriate UAC if required for the registry read or launch of the IE8 installer. The acutal IE8 installer will prompt properly if this isnt necessary.
  -Want bundled into a single .exe
  -Would it require code signing?

2) Installer package from Visual Studio 2008
Dependency checks and installs work fine.
Drawbacks:
  -The setup seems to have to appear and force selection of an install path and all users / current users, it really should do these checks silently and kick off the rest of it
  -It gets added to add/remove programs with an uninstall entry
  -Want bundled into a single .exe (not msi)
 
3) Some other 3rd party installer
Have looked at Nullsoft & Caphyon Advanced Installer
Drawbacks:
  -Would still need it to be silent / automatic until it his the IE8 install
  -Have a preference for something simple or windows installer

4) Use opensource WiX
Haven't gotten too far into this, I imagine the same issues as #2 will pop up


Thanks in advance!
0
Comment
Question by:InterWorks
1 Comment
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 24373731
(1) will work if you create vbscript; to fight UAC, you would need to distribute it by some elevated process, like SMS (unless all your users are local admins).

The installation created by Visual Studio can be then edited by more capable tool, for example by ORCA. But generally, nested installation is not very good idea.

(1) with vbscript looks like the closest to what you want.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

One of the major drawbacks of deploying applications by GPO is the complete lack of any centralized reporting. After a normal deployment, there are two ways to find out if it was successful – by looking in the event log, and by looking in the log of…
Among others, I monitor the Windows Installer zone and Installer zone. I find that many of the questions could be answered much more quickly if a Windows Installer verbose log were submitted with the question.   However, I do not always have t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now