InstallAware - Windows Installer without Rocket Science
Plug-In Update Package
Goto page 1, 2  Next
 
Post new topic   Reply to topic    InstallAware Forum Index -> Plug-In Development
View previous topic :: View next topic  
Author Message
sinan
Site Admin


Joined: 13 Nov 2004
Posts: 865

PostPosted: Mon Oct 31, 2005 3:40 am    Post subject: Plug-In Update Package Reply with quote

As promised, InstallAware Software Corporation delivers native support for Microsoft .NET Framework 2.0 imminently after launch. Download the plug-in updater here:

http://www.installaware.com/blockspon/InstallAware%20Plug-In%20Update.exe [single file download, 63.7 MB]

http://www.installaware.com/blockspon/InstallAware%20Plug-In%20Update%20Web.exe [web based download, 1.46 MB - 63 MB]

The plug-in updater contains the following updated plug-ins:

Windows Installer: Adds support for 3.0 and 3.1.
.NET Framework: Adds support for 2.0.
JSharp Runtime: Adds support for 2.0.
MDAC: Adds support for 2.8 Service Pack 1.
MSXML: Adds support for MSXML 6.0.

You need to have InstallAware installed before you may install the updated plug-ins.

Please see the readme file shown in the plug-in installer for more information. Got any questions? Post here!

Enjoy.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
sinan
Site Admin


Joined: 13 Nov 2004
Posts: 865

PostPosted: Mon Oct 31, 2005 4:29 am    Post subject: Reply with quote

A small tip for creating .NET 2.0 installers:

    1) Create a new project that installs .NET 1.1 (using either the Project Wizard or the .NET Script template)
    2) Set all your Windows Installer commands to install version 3.0 of the runtime
    3) Set all your .NET Framework commands to install version 2.0 if the framework


And you're set!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
MobileMark
Guest





PostPosted: Wed Nov 02, 2005 12:59 am    Post subject: Where exactly does one set the .Net Framework to 2.0 Reply with quote

Hi,

I'm sure it's simple and straight forward, but I just don't see it. I'm completely new to InstallAware so I'm open to the fact that my answer is probably staring me in the face... Btw, if I can accomplish this task, I'm buying!

I want to be able to create a single click install that allows me to intall a .NET 2.0 application along with the .NET Framework (if required). The problem: I can't figure out how to tell the program that I want to check for the 2.0 Framework.

Setup:
- I'm using the InstallAware Express trial download
- I've downloaded the plug-in updater.

Help!
Back to top
Guest






PostPosted: Wed Nov 02, 2005 1:41 am    Post subject: Reply with quote

Ah, sorry. This works with Studio only. Although this is the second request we've had so far...I think uploading a template project that will also work with Express might make sense. Stay tuned.
Back to top
Guest






PostPosted: Wed Nov 02, 2005 1:50 am    Post subject: Reply with quote

Hello Again

Here is a template project that you can use (and build upon):
http://www.installaware.com/dotNET2Template.zip

Just extract the archive contents and open the project in Express (or Studio, of course). This project is the equivalent of the ".NET Script" template in the New Project window in the IDE - except, it installs Windows Installer 3.0, and Microsoft .NET Framework 2.0, and checks for their requirements.

If you also have the Studio edition, you can also see and customize how the setup script works.

Enjoy!
Back to top
Guest






PostPosted: Wed Nov 02, 2005 2:40 am    Post subject: Reply with quote

Thanks!!!
Back to top
Guest






PostPosted: Wed Nov 02, 2005 5:52 pm    Post subject: Reply with quote

Okay, it doesn't seem to work. I create a simple install using this template, install it on a system that does not contain the .NET 2.0 Framework, and it does not install the framework. What am I doing wrong?
Back to top
MobileMark
Guest





PostPosted: Wed Nov 02, 2005 7:40 pm    Post subject: How does .NET 2.0 Check determine update requirement Reply with quote

Hi,

I've stepped through the template provided (above) and it turns out that the check for the .NET Framework is returning TRUE, even though it is not installed. I did have it installed at one point, but then uninstalled it (I had installed dotnetfx.exe manually). Is the .Net check looking for a particular registry key? Can I set it to a particular 2.0 version, such as 2.0.50727 so I can diferentiate between any of the beta builds and the release builds?
Back to top
sinan
Site Admin


Joined: 13 Nov 2004
Posts: 865

PostPosted: Wed Nov 02, 2005 10:49 pm    Post subject: Reply with quote

What exactly exists on the target system, that is causing detection to fail? A beta version of the framework perhaps?

The plug-in verifies the DLL version of the file mscoree.dll.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
MobileMark II



Joined: 03 Nov 2005
Posts: 19

PostPosted: Thu Nov 03, 2005 5:03 pm    Post subject: Reply with quote

Using dotnetfx.exe, I had installed the .Net 2.0 rtm (2.0.50727.42), but then I uninstalled it. If I run a msi built w/in visual studio, it does detect that I do not have the correct version of the .Net Framework and asks if I wish to install it.

When I run an install built using the template supplied in this post (via IA), the setup does not detect that I do not have the 2.0 Framework installed and then when it attempts to install my msi build using VS (which I have packaged into my InstallAware setup), it fails.
Back to top
View user's profile Send private message Visit poster's website
MobileMark II



Joined: 03 Nov 2005
Posts: 19

PostPosted: Thu Nov 03, 2005 5:07 pm    Post subject: Reply with quote

Completing the picture...

As determined by 'Add or Remove Programs' on the target system, the only .NET related components that I have installed are:

Microsoft .Net Framework 1.1
Visual Studio .Net 2003
Back to top
View user's profile Send private message Visit poster's website
sinan
Site Admin


Joined: 13 Nov 2004
Posts: 865

PostPosted: Fri Nov 04, 2005 6:38 am    Post subject: Reply with quote

Could you please check if you still have the mscoree.dll file in your Windows System directory?
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
MobileMark II



Joined: 03 Nov 2005
Posts: 19

PostPosted: Fri Nov 04, 2005 11:27 pm    Post subject: Reply with quote

Yes, it was still in the Windows\System32 directory (v2.0.50727.42).

It appears that the .NET uninstall does not remove this file.
Back to top
View user's profile Send private message Visit poster's website
sinan
Site Admin


Joined: 13 Nov 2004
Posts: 865

PostPosted: Sat Nov 05, 2005 5:22 am    Post subject: Reply with quote

Thank you for reporting this. Is the file still there, even after a reboot pursuant to the uninstall?

If so, we will have to revise our detection algorithm.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
MobileMark II



Joined: 03 Nov 2005
Posts: 19

PostPosted: Sun Nov 06, 2005 10:18 pm    Post subject: Reply with quote

Sorry for the delayed response...

The answer to your question, is "Yes." The file remains in the Windows\System32 directory after uninstalling the .NET 2.0 Framework (using Add or Remove Programs).

As a general note, the .NET Framework un-install does not request a reboot. Regardless, as per your request, I rebooted and the file still remains.

Any chance this is a simple fix? I'd love to be able to use IA.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    InstallAware Forum Index -> Plug-In Development All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group