How to integrate .NET Framework in Add-In installer package ?

Add-in Express™ Support Service
That's what is more important than anything else

How to integrate .NET Framework in Add-In installer package ?
 
Choon Teck Lee




Posts: 5
Joined: 2007-01-24
Hi,

I wish to include .NET Framework 2.0 in the Add-In Installer package so that only a single file (.msi) is required to pass to end user.
The installer will check whether .NET Framework is installed in the end-user machine. If not, the installer will install the framework into the end-user machine before continue.
How to achieve this effect ? Thank you very much.
Posted 29 Jan, 2007 02:03:27 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Choon.

I am afraid it is not possible. You can only include the .NET Framework 2.0 as a prerequisite in the setup. Also you will have to use the setup.exe file to install the add-in with all required prerequisites.


P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.
Posted 29 Jan, 2007 07:01:52 Top
Esteban Astudillo


Guest


Hi,

I think this http://msdn.microsoft.com/msdnmag/issues/04/10/Bootstrapper/ link will help you understand Sergey's comment better. It helped me back then ;)

Cheers,
Esteban
Posted 29 Jan, 2007 10:57:13 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Esteban.

Thank you for help.
Posted 29 Jan, 2007 16:40:45 Top
Choon Teck Lee




Posts: 5
Joined: 2007-01-24
Hi,

Thanks for the advice. ;)

By the way, i wish to include Windows Installer 3.1 as a prerequisite in the installer. Thus, i need to modify the launch condition for the MSI file so that the installation cannot continue if Windows Installer 3.1 is not installed in the running machine ( this assumes user accidentally start the installation by using the MSI file instead of the setup.exe ).There are 2 ways to detect Windows Installer 3.1 in the running machine which are ProductID / GUID and registry. However, i can't find these information from net. Do you have any ideas about these value ?

Thank you very much.
Posted 29 Jan, 2007 20:57:12 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Choon.

Please read about it in the 'Determining the Windows Installer Version' chapter of the Windows Installer SDK (see the VersionMsi property documentation).
http://msdn2.microsoft.com/en-us/library/aa368280.aspx


Posted 30 Jan, 2007 10:44:51 Top
Choon Teck Lee




Posts: 5
Joined: 2007-01-24
Hi,

The link provided shows how to obtain the version. However, i wish to know the GUID of Windows Installer 3.1 so that i can check in end-user machine whether it has Windows Installer 3.1 installed or not.

So, do you have any ideas what is the GUID value for Windows Installer 3.1 ? Thank you very much.
Posted 31 Jan, 2007 03:03:05 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Choon.

I didn't find the Component ID of the Windows Installer 3.1 yet. I will try to find it in MSDN and will let you know I do.
Posted 31 Jan, 2007 13:33:53 Top