Help - Search - Members - Calendar
Full Version: Installer software
ieXbeta Board > Tech > Developer Center
stevenh
Hi,

I need a free installer platform which can check for .Net framework installed.
I tried Clickteam but it couldn't do it.

Any ideas?

Steven
Taco Bell
Were you looking for a built-in method then? 'cause all it requires is a registry and/or file check to confirm its presence. For example:

CODE
Reg: SOFTWARE\\Microsoft\\NET Framework Setup\\Full\\v1.0.3705
File: <WINDIR>\Microsoft.NET\Framework\v1.0.3705\mscorwks.dll

However, another popular & free installation program is NSIS (Nullsoft Scriptable Install System).
stevenh
Yes but the file will get a other name when the version changes now?

Steven
DangerousDave86
QUOTE(stevenh @ Apr 23 2006, 09:35) *

Yes but the file will get a other name when the version changes now?

Steven

I'm not sure. I thought .Net had all previous versions with each new version, so that folder/reg key would still exist? I'm not sure though, I could easily be wrong on this one.
Taco Bell
Well you would only be checking for the specific version of the .NET framework that your application truly requires, so that path/filename are constant.


Also, whether or not you you automatically have all of the previous versions, depends on what .NET frameworks were previously installed.

'cause, on a clean system, the 2.0 framework for example will also install 1.1 and 1.0. On a dirty system, on the other hand, where you've already installed an earlier version of the framework, then must install each one individually.

For our original discussion on all this, look here.
unkle stu
what's wrong with the built-in P&D wizard? or is that not in your flavor of VS..
joejoe
Just get a bootstrapper and all is fine.
There are some open source projects out there wink.gif
stevenh
QUOTE(unkle stu @ Apr 24 2006, 10:19) *

what's wrong with the built-in P&D wizard? or is that not in your flavor of VS..

Well, it doesn't come up with a real setup. It doesn't give me nice options and it looks like it is installing an activex control or something. It doesn't look a bit professional.

QUOTE(joejoe @ Apr 25 2006, 22:47) *

Just get a bootstrapper and all is fine.
There are some open source projects out there wink.gif

Yeah i tried NSIS but i didn't really understand it tongue.gif
joejoe
There are even c++ bootstrapper( with source-code) so watch out wink.gif
Taco Bell
I assume you meant to quote me there stevenh when replying about NSIS, but whatever ...

However, a bootstrapper for the .NET Framework would certainly eliminate the issue as it would take over all those checks.
vbjay
Bootstrapper
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.