Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Windows Installer Direction Recommendation

Posted on 2009-05-05
1
Medium Priority
?
382 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 1500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
If you don't know how to downgrade, my instructions below should be helpful.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

876 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