fiveforty Posted April 13, 2003 Posted April 13, 2003 i have tried to build a setup.msi with the included setup project in VS.net. The dependencies list contains: (easydial is an activex control i downloaded) accessibility.dll adodb.dll axinterop.easydiallib.dll axinterop.mscomctllib.dll cscompmgd.dll easydial.ocx interop.easydiallib.dll interop.mscomctllib.dll microsoft.visualbasic.compatibility.dll microsoft.visualbasic..dll microsoft.visualc.dll mscomctl.dll mscorlib.dll mscorlib.tlb msdatasrc.dll stdole.dll system.data.dll system.directoryservices.dll system.dll system.drawing.dll system.enterpriseservices.dll system.enterpriseservices.tlb system.runtime.remoting.dll system.runtime.serialization.formatter.soap.dll system.web.dll system.web.regularexpressions.dll system.windows.forms.dll system.xml which ones are essential and which can i remove?? please help - thanks Quote
*Gurus* divil Posted April 13, 2003 *Gurus* Posted April 13, 2003 You should not be including any DLLs that are in the .NET framework (i.e., those in c:\windows\microsoft.net\etc). Instead, you need to make sure the .NET framework itself is installed on your users system, by including dotnetfx.exe in your distribution and making sure it is run before installing your app. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Guest mutant Posted April 13, 2003 Posted April 13, 2003 Are all those dlls included in your setup project? They shouldnt cause they are part of the framework, you should only include files that you use that not part of the framework. [edit]Hehe you beat me to it Divil... :D [/edit] Quote
fiveforty Posted April 14, 2003 Author Posted April 14, 2003 thanks for the reply guys, but.. i seem to be confused about MSCOMCTL.OCX . At first I included this (with the Ax.interop and interop. etc) and all seemed to install fine. However, after uninstalling it seems to unregister MSCOMCTL.OCX. This means that the compiled exe in \BIN no longer even runs properly. I confirmed this by manually using 'regsvr32 c:\windows\system32\mscomctl.ocx' and after registering, all was good again. How can i overcome this problem, because i'm sure MSCOMCTL.OCX may be required by other applications. -Thanks Quote
*Gurus* divil Posted April 14, 2003 *Gurus* Posted April 14, 2003 There is NO reason for using that ActiveX control in .NET applications. All the Windows Common Controls that are in that ocx are wrapped by proper Windows Forms Controls available in your toolbox. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
fiveforty Posted April 14, 2003 Author Posted April 14, 2003 thanks for the prompt reply, divil: i'm sorry but i don't follow what u mean by NOT requiring that control. i think that it is required by another custom activex control i've utilized - easydial.ocx - for RAS dialing control. i guess me question is really WHY does the add/remove programs uninstallation seem to UNREGISTER the ocx? Quote
*Gurus* divil Posted April 14, 2003 *Gurus* Posted April 14, 2003 Probably because it thinks it is part of your program. You need to mark it as "shared" or "system" depending on what installer you use, so that the uninstaller leaves it in place. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.