Re: When were scanf_s functions introduced?



Related to this, here are some size statistics for a simple (prime calculator
app. using security-enhanced sprintf_s and related functions):

- dll linked with /MD myapp.exe 12 kb
- static linked with /MT myapp.exe 130 kb
- Setup/Deploy Project with VS 2005 (adding dependent MSVCR80 related Merge Module):
.msi file 400 kb setup.exe 1.9 Mb
- actual size of MSVCR90.dll 612 kb

So for deploying smaller applications, why are the setup.exe and msi files
so huge? why so much overhead in the setup.exe file??

- Mitch

"Mitch Gallant" <jensigner@xxxxxxxxxxxxxxxx> wrote in message news:u%23l0BgTRGHA.792@xxxxxxxxxxxxxxxxxxxxxxx
I tried creating a Setup/Deploy project in VS 2005 with an exe
built using /MD. It depends on MSVCR80.dll (based on dumpbin ..).
But when I add it to the Setup project, the Detected Dependencies
doesn't show anything. Shouldn't it show the MSVCR80.dll dependency??
- Mitch

"Skywing" <skywing_NO_SPAM_@xxxxxxxxxxxxxxxxxxx> wrote in message news:uTAljoRRGHA.1688@xxxxxxxxxxxxxxxxxxxxxxx
My knowledge of doing complicated MSI setup apps is fairly limited, but I'll try to answer these as best I can.

-- snip
2- This depends on your setup environment, really. Assuming these are Internet-distributed installs, you could use
the route that Microsoft goes for many of their setups (i.e. service packs, SDK setup, etc): have two installers, one
that is a "full install" (includes everything and will be usable even on computers without a network connection) and
one that is a "web install" (checks dependencies and only downloads those that are missing, but obviously requires an
active network connection on the machine you are installing on). If you are doing media-based installs (e.g.
physical CDROM or something similar), then the amount of space for the CRT installer is probably not going to matter
much and it would be worth just always shipping it.

.. snip



.



Relevant Pages

  • Re: Windows Installer does not install any files
    ... I am trying to install a VS2005 Windows Forms .Net project on a 64-bit Windows Server using Setup2.msi Setup.exe generated by Setup and Deployment project for a 64-bit operating system. ... The installer has encountered an unexpected error installing this package. ...
    (microsoft.public.vsnet.setup)
  • Re: Continual Error 1321 Trying to Install Office 2003
    ... As to evidence of which app installed wisptis, I suppose you'd have to set ... 2003 sure wants to install it and stalls when it can't because the progress ... Is there any way in the world to get into setup with some custom tool from ... *My Lack of MSFT Support Rant and View Hex Error Messages Do Nothing for the ...
    (microsoft.public.office.misc)
  • Re: Continual Error 1321 Trying to Install Office 2003
    ... it needs and now setup wants to stuff it back in. ... Wisptis is explained ... that will let me do a detailed enough or selective enough custom install to ... people running Office don't use a tablet. ...
    (microsoft.public.office.misc)
  • Re: reinstall intranet company web Error.
    ... AnalyzePhaseZero used 0 ticks ... KB832880 Setup encountered an error: Setup cannot continue because one or ... more pre-requisites required to install KB832880 failed. ... For More details check the Log File ...
    (microsoft.public.windows.server.sbs)
  • Re: reinstall intranet company web Error.
    ... AnalyzePhaseZero used 0 ticks ... KB832880 Setup encountered an error: Setup cannot continue because one or ... Setup cannot continue because one or more pre-requisites required to install ... For More details check the Log File C:\WINDOWS\KB832880.log ...
    (microsoft.public.windows.server.sbs)