|
How i install the XP Service Pack 2 automatic?
Download and install..
|
|
|
|
|
Hi,
How to select/add in dotnetfx40client.iss the right link to download the Framework in French or English (in my case) according the selected language in InnoSetup or Windows regional settings?
any idea?
Thanks in advance.
|
|
|
|
|
Is there any way to run a procedure from a downloaded dependency?
I have a dependency that needs some actions done to it, before another dependency is completed.
I need to run a procedure that takes care of it, as soon as the install for the dependency is completed, before another one starts.
Is this possible ?
Thanks in Advance.
|
|
|
|
|
Hello everyone.
I'm trying and trying to do an universal installer just for all the .NET Frameworks (including 4.0) but something is failing all the time. Recently I'm strugling with the parameters for Exec method for installing .NET 4.0. It seems that something is wrong with it, because .NET (after innosetup installer finishes) is installed correctly, but error code is returned and installer prompts up with error.
Any ideas how to fix it?
Atm it's like this:
[CustomMessages]
dotnetfx40_title=.NET Framework 4.0
polish.dotnetfx40_size=48.1 MB
[Code]
const
dotnetfx40_url = 'http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe';
procedure dotnetfx40();
var
version: cardinal;
begin
RegQueryDWordValue(HKLM, 'Software\Microsoft\NET Framework Setup\NDP\v4\Full', 'Install', version);
if version <> 1 then
AddProduct('dotNetFx40_Full_x86_x64.exe',
'/q:a /t:' + ExpandConstant('{tmp}{\}') + 'dotNetFx40_Full_x86_x64.exe /c:"install /qb /l"',
CustomMessage('dotnetfx40_title'),
CustomMessage('dotnetfx40_size'),
dotnetfx40_url);
end;
Maybe someone has done already a full installer for this. I know there were several posts about this, but still.. something is missing.
Maybe a new version of whole project here on CodeProject?
best wishes,
xagon
|
|
|
|
|
the problem is that dotnet4 framework exit with errorcode 3010 if the setup is successful but a restart is necessary after the setup..
Use the Script http://www.codeproject.com/Messages/3514789/Some-Enhancements.aspx[^]
and it will work fine!
PS: .net Framework need installed WIC (Windows Image Component), on System where .NET 3 is installed or on XP SP3 PC's WIC is installed already... but on other situations it can be missing ( Windows 2003 server.... without other .NET )
so include the attached wic.iss and it works!
[CustomMessages]
wic_title=Windows Imaging Component
en.wic_size=1.2 MB
de.wic_size=1.2 MB
const
wic_url = 'http://download.microsoft.com/download/f/f/1/ff178bb1-da91-48ed-89e5-478a99387d4f/wic_x86_enu.exe';
procedure wic();
var
installed: boolean;
begin
installed := FileExists(GetEnv('windir') + '\system32\windowscodecs.dll');
if not installed then begin
AddProduct('wic_x86_enu.exe',
'/q',
CustomMessage('wic_title'),
CustomMessage('wic_size'),
wic_url,
false,
false);
end;
end;
modified on Tuesday, October 26, 2010 4:16 AM
|
|
|
|
|
Perfect solution !!
|
|
|
|
|
Hi I want to use it both as an online Version and as an Offline Version what i have to change that the script use the already downloaded files
to install dotnet.
mfg
Travian
|
|
|
|
|
|
Thanks for the nice work,
im using dotnetfx35 installation and all works fine, but i use
AlwaysRestart=yes to show restart application screen once installation is done and it does not work because of
/norestart and
NeedsRestart codes. How to prompt a application restart at end of installation even if the dotnetfx35 is installed or not.
|
|
|
|
|
I included the .net 4.0 installation module. My setup installs MSI 3.1, WIC (windows imaging component) both prerrequisites for .net 4.0.
Everything works great on windows xp.
However on windows vista and seven, the installation freezes when .net 4.0 is 99% downloaded... before moving on to the next step, a time out message pops up saying "error reading URL, the operation timed out". It's strange... internet connection is OK, the file gets 99% downloaded, the URL is ok.. this only happens on vista and seven.
Any help will be very apreciated. Thanks.
modified on Friday, September 24, 2010 12:51 AM
|
|
|
|
|
The solution that I found was to install .net 4.0 from the "web installer" instead of the standalone setup. I works great on any operating system.
|
|
|
|
|
In this procedure AddProduct has a variable called "Parameters" and files dotnetfx .. exists that this parameter -> '/ q: a / c: "install / qb / l"'
This was done only to create the folder on silent! "
Because I'm trying to do that..
procedure dotnetfx11();<br />
var<br />
version: cardinal;<br />
Path, Dir, FileName: string;<br />
begin<br />
FileName := 'dotnetfx11.exe';<br />
Dir := ExpandConstant('{app}{\}');<br />
Path := ExpandConstant('{app}{\}') + FileName;<br />
<br />
RegQueryDWordValue(HKLM, 'Software\Microsoft\NET Framework Setup\NDP\v1.1.4322', 'Install', version);<br />
if version <> 1 then<br />
AddProduct('dotnetfx11.exe',<br />
Dir,<br />
CustomMessage('dotnetfx11_title'),<br />
CustomMessage('dotnetfx11_size'),<br />
Path);<br />
end;
This folder and the file was created in the Path setup.iss, i am trying to charge us dotnetfx..
|
|
|
|
|
http://pipiscrew.com/
Freewares 4 Developers
>Inno Helper
Is initial release.. and only for NET developers!
|
|
|
|
|
it did not compile in windows vista sp2
|
|
|
|
|
Hi,
How to have the same WizardSmallImageFile during the framework download like the rest of my Setup Wizard?
I tried to add "WizardSmallImageFile = images\logo3.bmp" in products.iss. But when I generate I have the following error : "Already WizardSmallImageFile specified"
Thanks in advance.
modified on Thursday, July 29, 2010 8:14 AM
|
|
|
|
|
I found it! I changed WizardSmallImageFile in the c++ sources. That working now!
bye.
|
|
|
|
|
What C++ sources did you change?
I cant find any of the source files and I kinda need that same thing.
Anthony
|
|
|
|
|
Hi,
I uploaded the code here
You need C++ 2010 and WTL 8.0
The maximum size of the bitmap (WizModernSmallImage) is 55x58 pixels.
You just replace WizModernSmallImage.bmp file in 'source' directory with yours and re-build the solution.
I hope this will help!
Bye
neojudgment
|
|
|
|
|
Ahh getting some code errors in VS 2010
Thanks for the help though! I'll try sort out the errors
Anthony
|
|
|
|
|
Hi Anthony,
Give me a link to your image (WizardSmallImageFile)!! I will build this for you !!
++ neojudgment
|
|
|
|
|
Hi neojudgment,
Don't worry, I've got it to work
Thanks!!
Anthony
|
|
|
|
|
Hi Anthony,
great news !!
bye
neojudgment
|
|
|
|
|
hi can anyone gimme the script in which i could create the listboxes, i.e i want to create a scrollable listbox with few entries in it in a wizardpage
|
|
|
|
|
Hey,
The below two scripts should allow your application to download the latest version of the .NET Framework.
.NET Framework 4 (Full)
Put the below code into a file named "dotnetfx40.iss"
[CustomMessages]
dotnetfx40_title=.NET Framework 4.0
en.dotnetfx40_size=48.1 MB
de.dotnetfx40_size=48,1 MB
[Code]
const
dotnetfx40_url = 'http://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe';
procedure dotnetfx40();
var
version: cardinal;
begin
RegQueryDWordValue(HKLM, 'Software\Microsoft\NET Framework Setup\NDP\v4\Full', 'Install', version);
if version <> 1 then
AddProduct('dotNetFx40_Full_x86_x64.exe',
'/q /norestart',
CustomMessage('dotnetfx40_title'),
CustomMessage('dotnetfx40_size'),
dotnetfx40_url);
end;
.NET Framework 4 (Client)
Put the below code into a file named "dotnetfx40client.iss"
[CustomMessages]
dotnetfx40_title=.NET Framework 4.0 Client Profile
en.dotnetfx40_size=48.1 MB
de.dotnetfx40_size=48,1 MB
[Code]
const
dotnetfx40_url = 'http://download.microsoft.com/download/5/6/2/562A10F9-C9F4-4313-A044-9C94E0A8FAC8/dotNetFx40_Client_x86_x64.exe';
procedure dotnetfx40client();
var
version: cardinal;
begin
RegQueryDWordValue(HKLM, 'Software\Microsoft\NET Framework Setup\NDP\v4\Client', 'Install', version);
if version <> 1 then
AddProduct('dotNetFx40_Client_x86_x64',
'/q /norestart',
CustomMessage('dotnetfx40_title'),
CustomMessage('dotnetfx40_size'),
dotnetfx40_url);
end;
Don't forget to add the lines #include "dotnetfx40.iss" or #include "dotnetfx40client.iss" at the top of your setup file script.
Anthony
|
|
|
|
|
Here is an update for MSI 4.5 for XP, Vista and Vista-64. Note my previous post about mid-Install reboots. If you don't want this, just remove
,true,true from code.
[CustomMessages]
msi45win60_title=Windows Installer 4.5 for Windows Vista & Windows 7
msi45win52_title=Windows Installer 4.5 for Server 2003
msi45win51_title=Windows Installer 4.5 for Windows XP
msi45win60_size=1.7 MB
msi45win52_size=3.0 MB
msi45win51_size=3.2 MB
[Code]
const
msi45win60_url = 'http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0e0f2e08356d/Windows6.0-KB942288-v2-x86.msu';
msi45win6064_url = 'http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0e0f2e08356d/Windows6.0-KB942288-v2-x64.msu';
msi45win52_url = 'http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0e0f2e08356d/WindowsServer2003-KB942288-v4-x86.exe';
msi45win51_url = 'http://download.microsoft.com/download/2/6/1/261fca42-22c0-4f91-9451-0e0f2e08356d/WindowsXP-KB942288-v3-x86.exe';
procedure msi45(MinVersion: string);
begin
if minwinversion(6, 0) and (fileversion(ExpandConstant('{sys}{\}msi.dll')) < MinVersion) then
begin
if (IsWin64) then begin
AddProduct('Windows6.0-KB942288-v2-x64.msu',
'/quiet /norestart',
CustomMessage('msi45win60_title'),
CustomMessage('msi45win60_size'),
msi45win6064_url, true, true)
end else begin
AddProduct('Windows6.0-KB942288-v2-x86.msu',
'/quiet /norestart',
CustomMessage('msi45win60_title'),
CustomMessage('msi45win60_size'),
msi45win60_url, true, true)
end;
end
else if minwinversion(5, 2) and (fileversion(ExpandConstant('{sys}{\}msi.dll')) < MinVersion) then
AddProduct('WindowsServer2003-KB942288-v4-x86.exe',
'/quiet /norestart',
CustomMessage('msi45win52_title'),
CustomMessage('msi45win52_size'),
msi45win52_url, true, true)
else if minwinversion(5, 1) and (fileversion(ExpandConstant('{sys}{\}msi.dll')) < MinVersion) then
AddProduct('WindowsXP-KB942288-v3-x86.exe',
'/quiet /norestart',
CustomMessage('msi45win51_title'),
CustomMessage('msi45win51_size'),
msi45win51_url, true, true);
end;
|
|
|
|
|