Windows Installer dll files and icons

H

- HAL9000

I am deploying my solution using the Setup Project template to
generate a windows installer (msi file).

1)
The "Primary output" option in the wizard has generated a dozen or so
..dll files that are now part of the installation. I don't understand
this. I thought all that was necessary was for the user to install
the dotNet Framework and then my .exe file would run all by itself.
All these dlls have caused my msi file to be (relatively) huge - 4.4
MB.

2)
I have created shortcuts in the "User's Programs Menu" to launch other
files, such as the rtf license agreement, but on installation the
icons showing via start -> programs -> my program are not what I
expected (it is not the icon associated with rtf files). Where do I
get the rtf icon and the uninstall icon to show with my shortcuts?


Thanks much...
 
C

Carlos J. Quintero [.NET MVP]

The "Primary output" option in the wizard has generated a dozen or so
.dll files that are now part of the installation. I don't understand
this. I thought all that was necessary was for the user to install
the dotNet Framework and then my .exe file would run all by itself.
All these dlls have caused my msi file to be (relatively) huge - 4.4 MB.

Which are the names of those DLLs? Depending on the references that you have
used in your Windows App (COM references that need Interop DLLs, 3rd party
assemblies, etc), those DLLs are not part of the .NET Framework...

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
 
H

- HAL9000

Here are is a listing:

http://home.comcast.net/~mobo.help/dllfiles.gif

I'm new to this but they look like they are all part of .net. Did it
somehow include these dlls and it shouldn't have (restart do the
project wizard)?

About the icons. Should I be getting icons, per windows associations,
or am I doing something wrong?

Thanks...
 
C

Carlos J. Quintero [.NET MVP]

I get "Page URL not found"...

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
 
C

Carlos J. Quintero [.NET MVP]

Those DLLs are part of the .NET Framework and therefore your installer
should not install them separately. Either your setup includes an
installation of the whole .NET Framework if needed, or not, but in any case
those DLLs should not be there.

Just for testing, could you create a new Windows App, the one that the
wizard generates, and create a setup for it to see what output is generated?

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
 
C

Carlos J. Quintero [.NET MVP]

I think it's a bit strange. Anyway, you can exclude output files with the
context menu. And don´t forget to test the app on a target machine...

--

Carlos J. Quintero

MZ-Tools 4.0: Productivity add-ins for Visual Studio .NET
You can code, design and document much faster.
http://www.mztools.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top