Windows installer technology how-to

General Tech Technology & Software 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Technology & Software related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago


I am trying to create a custom installer technology for some fun and generic utility...I have experimented with several tools including Orca, WiX, VS S&D projects, NSIS, Innosetup etc but all of them seem to suffer from one or more of the following deficiencies...

  1. Its too complex for simple needs or outright simplistic. There is no technology which covers middle ground.
  2. Does not support transacted setups.
  3. Forces you to learn a complex new programming language.

In the end I have decided to create my own installer technology to fulfill my needs...

  1. Declarative like WiX but no XML junk, will probably use boo instead.
  2. Transacted like MSI (in fact I am thinking of using MSI as the underlying technology)
  3. Outright simple and to the point but not too simple.

I would be grateful if you could answer some of the following questions keeping the above in mind.

Q1. Has this already been done? Can you point to some instances of such technology?
Q2. How do I detect program dependencies and find corresponding merge-modules like Visual studio does while creating setup and deployment projects?
Q3. How do I programmatically create an MSI package from .net (without using something like WiX)?

profilepic.png
manpreet 2 years ago

Why are you re-inventing the wheel? The installers are good enough, I use NSIS as it covers my needs since the templates used are basically the same, just change a couple of macros that specifies the files to put together... I know and can understand why you have specific needs (we all have them!) but generally in the long run, setting up your own installer is...that is equivalent of setting up your own encryption algorithm, it may look good and secure to you but could be weak and easily broken. Maybe you haven't fully read the documentation enough, or understood some switches..


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.