Visual C++ Runtime 10.0 installation without WebMedia

Got a problem you cannot solve? Try here.
QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Visual C++ Runtime 10.0 installation without WebMedia

Postby QooScho » Thu Apr 24, 2014 5:38 am

Hello
for a new Setup I need to add the Visual C++ Runtime 10.0. I have added the Checkbox in design tab in IA 17.
In the MSI Code there is now

Include Script: checkvc10_x64
and for 32bit
Include Script: checkvc10_x86

There is also added the WebMedia Block
[DEFINE WEB MEDIA Microsoft Visual C++ Runtime 10.0 (includes ATL and MFC)]
Include Script: setupvc10_x86
[DEFINE WEB MEDIA Microsoft Visual C++ Runtime 10.0 (includes ATL and MFC) (x64)]
Include Script: setupvc10_x64

If I run the new Setup.exe the Installaware Wizard recognize the missing C++ Runtime and want to download from an Internet URL.

But I do not want to download or provide These files from Internet because sometimes the Setup is run on Server PC without Internet Connection.

1. How can I provide and install the Visual C++ Runtime 10.o files without WebMediaBlock?

After new build I can see two 7zip files in the same Directory as the Setup.exe file is located, in ./rlease/web/microsoft visual c++ runtime 10.0 (includes atl and mfc) (x64).7zip
and ./rlease/web/microsoft visual c++ runtime 10.0 (includes atl and mfc).7zip

2. Does IA17 creates These files? And is it possible to use These files instead of downloading from Internet?

best regards
Hans

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Visual C++ Runtime 10.0 installation without WebMedia

Postby FrancescoT » Thu Apr 24, 2014 10:42 am

Dear Hans,

... just place those web media blocks files within the EXE folder. This will force the installer to use those files instead of downloading them.

Alternatively, produce a Compressed EXE layout instead of a Compressed Web Exe.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Re: Visual C++ Runtime 10.0 installation without WebMedia

Postby QooScho » Thu Apr 24, 2014 11:21 am

Dear Francesco,
thank you for help.

<<.. just place those web media blocks files within the EXE folder. This will force the installer to use those files instead of downloading them.

But then I need three files instead of one and for deplyoment this is not good.

<<<Alternatively, produce a Compressed EXE layout instead of a Compressed Web Exe.
All Setups in the past were Web Build and the most recommandations I read where to use Web Builds
Why now to use a Compressed Exe? What is in this case better?

On Microsoft site I saw the "vcredist_x64.exe" and vcredist_x86.exe file for download.
Is it a option to use the Run Program command to execute these files instead of the the IA microsoft visual c++ runtime 10.0 (includes atl and mfc) (x64).7zip file?
The IA file is also much bigger in size.

best regards
Hans

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Visual C++ Runtime 10.0 installation without WebMedia

Postby FrancescoT » Thu Apr 24, 2014 12:56 pm

Dear Hans,

All Setups in the past were Web Build and the most recommandations I read where to use Web Builds
Why now to use a Compressed Exe? What is in this case better?

Where did you read that The Compressed Web Exe is the recommended layout to use?
... it only depends if best fits your needs.

The only difference stay with the fact that with a Compressed Exe, all your setup is contained inside a single self extracting file.

Is it a option to use the Run Program command to execute these files instead of the the IA microsoft visual c++ runtime 10.0 (includes atl and mfc) (x64).7zip file?

... we use the exact identical files with our runtimes packages and I may suggest you to use them.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Re: Visual C++ Runtime 10.0 installation without WebMedia

Postby QooScho » Thu Apr 24, 2014 11:50 pm

Dear Francesco

<<<... we use the exact identical files with our runtimes packages and I may suggest you to use them.

Hmm, for me it seems that they are not ideantically. The VC 10 x64 from Installaware located in
C:\Program Files (x86)\InstallAware\InstallAware 17\runtimes\vc10bin_x64
has the file VC_Runtime_x64.msi and a CAB file and is about 10 MB size.

The vcredist_x64.exe direct from Microsoft is only 5.5 MB.

Just again to clarify the difference between Compressed Web-Based EXE and Compressed Single Self-Installing EXE:
In the IA help file I can see that the Compressed Single Self-Installing EXE does not cache the setup sources by default, and Web-Based does.

What does this mean exact and what is the advantage of caching the sources?

If I do not need the WebMedia Block and offer a download from Internet, is it then recommended to use the Compressed Single Self Exe?

And back to the original post or question: Whit the Compressed Single Self Exe is it possible to include the vcredist_x64.exe inside the IA Setup.exe ?

thanks a lot for help.

best regards
Hans

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Visual C++ Runtime 10.0 installation without WebMedia

Postby FrancescoT » Mon Apr 28, 2014 11:41 am

Dear Hans,

Hmm, for me it seems that they are not ideantically. The VC 10 x64 from Installaware located in
C:\Program Files (x86)\InstallAware\InstallAware 17\runtimes\vc10bin_x64
has the file VC_Runtime_x64.msi and a CAB file and is about 10 MB size.

The vcredist_x64.exe direct from Microsoft is only 5.5 MB.

do you really believe that we use a special version of those Runtime ...or maybe a special version just made for us?

The vcredist_x64.exe direct from Microsoft is compressed file ... just un-compress it and you can personally verify that we use the same identical files.

Just again to clarify the difference between Compressed Web-Based EXE and Compressed Single Self-Installing EXE:
In the IA help file I can see that the Compressed Single Self-Installing EXE does not cache the setup sources by default, and Web-Based does.

What does this mean exact and what is the advantage of caching the sources?

"When setup sources are not cached, no disk space is wasted on the target system for a copy of the installation files. However, running setup in maintenance mode (other than uninstalling the application) will require access to original setup sources, as will patching setup."

And back to the original post or question: Whit the Compressed Single Self Exe is it possible to include the vcredist_x64.exe inside the IA Setup.ex

Yes of course, with the Compressed Single Self Exe all setup components are embedded with it.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: Majestic-12 [Bot] and 124 guests