|
-
Oct 9th, 2007, 09:02 PM
#1
Thread Starter
New Member
No need to distribute VB runtime files?
I have a VB6 app that folks have been downloading for several years (a reactor simulator at my website, www.acme-nuclear.com) without any installation issues.
I use INNO Setup to create my setup file and I distribute the 6 VB runtime files to {sys}. I have tested my app under Vista, but recently a Vista user reported an error during install saying stdole2.tlb could not be registered due to an error accessing the OLE registry.
Question: Can I avoid runtime file install issues by simply NOT distributing the runtime files – as long as I don’t claim my app will run under older OS’s?
While searching the web, I see that several folks state that the VB runtime files come with ME, W2K, XP and Vista by default.
Thanks
-
Oct 10th, 2007, 12:39 AM
#2
Re: No need to distribute VB runtime files?
Welcome to the Forums.
You always have to distribute runtime files as there is no guarentee that a system will have everything your app requires.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 10th, 2007, 04:22 AM
#3
Re: No need to distribute VB runtime files?
Since you use Inno Setup, there are several things you need to know about installation. You don't need to distribute, I should say you NEVER distribute the VB runtime files to Vista. Vista has it's own versions and you will be corrupting Vista. On all other OS's you should distribute the VB runtime files.
Please read Installation Problems
-
Oct 10th, 2007, 12:04 PM
#4
Thread Starter
New Member
Re: No need to distribute VB runtime files?
OK, Thanks for the quick reply.
I will distribute the runtime files to all except Vista.
I assume I'll be able to review the Inno Setup help and find the exact syntax used to include earlier OS's while excluding Vista (VB runtime files as well as any other files I shouldn't distribute to Vista).
Thanks again
-
Oct 11th, 2007, 12:27 AM
#5
Thread Starter
New Member
Re: No need to distribute VB runtime files?
I searched and searched and could not fine a way for INNO Setup to only distribute a file if the user doesn't have Vista. Seems like it would be a common issue (??)
I guess I'll have visitors to my site download one setup file if they'll be installing on Vista or later (one without distribution of VB runtime files) and another for earlier OS's. Seems like a poor work-around.
Mike
-
Oct 11th, 2007, 01:13 AM
#6
Re: No need to distribute VB runtime files?
It is a VERY poor work around. There are scripts out there that do that. I know for I provide some of them With ********** and Inno Setup provides some too.
From **********
Code:
Source: e:\server data\randem\develop\vb 6 redist files\msvbvm60.dll; DestDir: ; Flags: ignoreversion; OnlyBelowVersion: 0,6
Source: e:\server data\randem\develop\vb 6 redist files\oleaut32.dll; DestDir: ; Flags: ignoreversion; OnlyBelowVersion: 0,6
Source: e:\server data\randem\develop\vb 6 redist files\olepro32.dll; DestDir: ; Flags: ignoreversion; OnlyBelowVersion: 0,6
Source: e:\server data\randem\develop\vb 6 redist files\asycfilt.dll; DestDir: ; Flags: ignoreversion; OnlyBelowVersion: 0,6
Source: e:\server data\randem\develop\vb 6 redist files\stdole2.tlb; DestDir: ; Flags: ignoreversion; OnlyBelowVersion: 0,6
Source: e:\server data\randem\develop\vb 6 redist files\comcat.dll; DestDir: ; Flags: ignoreversion; OnlyBelowVersion: 0,6
Source: e:\server data\randem\develop\vb 6 redist files\vb5db.dll; DestDir: ; Flags: ignoreversion; OnlyBelowVersion: 0,6
-
Oct 11th, 2007, 12:52 PM
#7
Thread Starter
New Member
Re: No need to distribute VB runtime files?
The light just came on.
Thank you Randem - that is exactly what I need!
Mike
-
Oct 17th, 2007, 05:30 PM
#8
Re: No need to distribute VB runtime files?
Other off topic posts moved to a new thread in General Developer forum
http://vbforums.com/showthread.php?t=492973
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|