This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- .NET 2.0 Prereq for an MSI?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 16, 2008
01:28 PM
.NET 2.0 Prereq for an MSI?
I have a basic MSI project which I would like to keep as a MSI which has a .NET 2.0 prereq. It seems I need to package it as a Setup.exe to keep the prereq. Is there a way to package it as an MSI with the prereq?
I want to keep it as an MSI since I need to query on it later from a C# program to determine its version number. I do this currently in C# using MsiOpenDatabaseW and MsiViewExecute.
Thank you in advance for any help.
Tim.
I want to keep it as an MSI since I need to query on it later from a C# program to determine its version number. I do this currently in C# using MsiOpenDatabaseW and MsiViewExecute.
Thank you in advance for any help.
Tim.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 16, 2008
02:19 PM
I'm 95% sure it can't be done as an MSI. A number of posts point to Bootstrapper which is a Setup.exe that sits in front of your MSI. It will call the prereqs you specific such as .NET or SQL server. I'm going with the option of pushing out .NET to our users prior to my rollout. Its a much easier option.
TK.
TK.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)