Xtreme Visual Basic Talk

Xtreme Visual Basic Talk (http://www.xtremevbtalk.com/)
-   .NET Installation / Documentation (http://www.xtremevbtalk.com/-net-installation-documentation/)
-   -   .Net 4.0 Required Additional Installer? (http://www.xtremevbtalk.com/-net-installation-documentation/327174-net-4-0-required-additional-installer.html)

Shohag_ifas 07-17-2014 08:34 AM

.Net 4.0 Required Additional Installer?
 
Greetings..
hope every active user on this forum are fine.

I am facing a problem; Let me tell in detail..

I just started working on vb.net (mainly I am vb6 coder). But as many suggest to upgrade to .net so do I.

At Betting I choose .net framework 2.0 and it has less issue for installer. Because .net framework 2.0 can install by it self on any os (tested on xp sp3).

But again suggested by expert to always use latest .net framework to get most out of it so, I started with .net framework 4.0

But now when I try to run the installer I faced following issue:

1. On windows xp sp3 32bit
a) .net framework 4.0 can't install it required following 2 files
b) Microsoft Windows Installer 3.1
c) Microsoft Windows Imaging Component (WIC)

d) while after installing (MSW Installer 3.1) it ask to restart the pc. :(

so, I installed 3.1 x86 and wic and install the .net 4.0 then it run my main apps.

2. On windows7 sp1 64bit
now I tried to setup 3.1 (windows installer x86) and it shows following massage:
Code:

This Update for Microsoft Windows (KB971513) is for a different hardware platform.
so, I think it asking for x64 version of windows installer 3.1

so, I am getting so confused. how to make a perfect installer.

because there are many different type of os. like
a) XP 32bit
b) XP 64bit
c) Vista 32bit
d) Vista 64bit
e) 7 32 bit
f) 7 64 bit
g) 8 32 bit
h) 8 64 bit
I) 8.1 32 bit
j) 8.1 64 bit

to setup .net framework 4.0 perfectly on all os what should I do?

1. which windows installer should I use 3.1 or 4.5 (latest)
a) if I use 4.5 instead of 3.1 will .net 4.0 install properly?
b) which version to include wit installer 64 bit or 32 bit? I have 1 exe file for .net for x86 and x64 both but don't found same for windows installer?
c) which OS need windows installer installed before .net framework to be only xp or what? (it's not possible for me to try on all os :( )

2. which wic should i use?
a) 64 bit or 32bit?
b) which OS need wic installed before .net framework to be only xp or what? (it's not possible for me to try on all os :(

is there any shortest way to make perfect installer that will shorten my hassle?

thanks in advance
best regards

Gruff 07-17-2014 12:58 PM

1 Attachment(s)
If you are missing a framework that is in your VB.NET project Prerequisites list

I believe the VB.NET project setup.exe will try to download and install it for you.

If you go to the Main Menu | Projects | <Your Project Name > Properties
and select Publish. Then click the Prerequisites Button.

The Prerequisites Dialog will appear with the frameworks listed, Selected, and with options for install.

Shohag_ifas 07-17-2014 04:08 PM

Quote:

Originally Posted by Gruff (Post 1406512)
If you are missing a framework that is in your VB.NET project Prerequisites list

I believe the VB.NET project setup.exe will try to download and install it for you.

If you go to the Main Menu | Projects | <Your Project Name > Properties
and select Publish. Then click the Prerequisites Button.

The Prerequisites Dialog will appear with the frameworks listed, Selected, and with options for install.

thanks a lot for your reply but sir, i am not using the installer that shipped with vs (visual studio). It has so many limitation. I am using custom installer..

any help on that please?

thanks again for reply..

best regards

Gruff 07-17-2014 05:03 PM

Nope.

What is wrong with the clickonce deployment that is built into VB.NET 2010, 2012, 2013
including the express versions. I never had an issue using it.

Shohag_ifas 07-17-2014 05:18 PM

Quote:

Originally Posted by Gruff (Post 1406515)
Nope.

What is wrong with the clickonce deployment that is built into VB.NET 2010, 2012, 2013
including the express versions. I never had an issue using it.

thanks again for your reply:

May be i am wrong about following but:
1. It is not flexible
2. it does not allow user to select where to install
3. it does not allow user to select the shortcut directory
4. it does not allow (developer) to add com/ActiveX file to be registered on user PC
5. it does not allow you to change the layout/design of the installer
6. it does not allow you to set application/readme file/help file/documentation run when installer end
7. you need more excuses?

And also i just tried once click one
i tried few times but it fails do download and install .net 4.0

thanks again..

best regards

PlausiblyDamp 07-18-2014 04:59 AM

What are you using to build your installer then? Is it something developed in house or are you using a 3rd party product?

Shohag_ifas 07-18-2014 05:11 AM

Quote:

Originally Posted by PlausiblyDamp (Post 1406519)
What are you using to build your installer then? Is it something developed in house or are you using a 3rd party product?

thanks for your reply/question..

i am using a very light weight (bit old) well featured installer though it lacks what i asked for in the post. However the installer name is :

Code:

Astrum InstallWizard 2.29.60
thanks again..

best regards

PlausiblyDamp 07-18-2014 10:18 AM

Not really familiar with that tool however if it can launch other executables as part of the installer itself then http://dblock.github.io/dotnetinstaller/ is worth a look. Nice tool that can take care of getting .net onto a PC regardless of the OS, might be an easier way to achieve what you are after.

Shohag_ifas 07-18-2014 12:38 PM

Quote:

Originally Posted by PlausiblyDamp (Post 1406522)
Not really familiar with that tool however if it can launch other executables as part of the installer itself then http://dblock.github.io/dotnetinstaller/ is worth a look. Nice tool that can take care of getting .net onto a PC regardless of the OS, might be an easier way to achieve what you are after.

thanks ..sir, but i have already developed my own script (in vb6) to check for required installer and download and install if needed :)

thanks again for your effort though..

best regards


All times are GMT -6. The time now is 01:51 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Optimisation provided by DragonByte SEO v2.0.15 (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
All site content is protected by the Digital Millenium Act of 1998. Copyright©2001-2011 MAS Media Inc. and Extreme Visual Basic Forum. All rights reserved.
You may not copy or reproduce any portion of this site without written consent.