|
-
Oct 7th, 2005, 09:51 PM
#1
Thread Starter
Fanatic Member
Package and Install
So I am trying to make an installer for my program. I am using VBInstaller downloaded from Microsoft. But I am not sure how to add my dependencies or where to find them.
Example:
Neither a merge module nor dependacy information could be found for c:\program files\microsoft office\office 10\execl.exe
One or more files in MDAC.MSM have different versions that those installed on this machine
...
How do I add those dependancies or am I doing these wrong? Did I go about the procedure correct? I just loaded VBInstaller and browesd to my project. Is there an easier way?
Thanks In Adance!
-
Oct 7th, 2005, 10:01 PM
#2
Re: Package and Install
Its because Excel is not redistributable. Your target systems will need their own license for Excel.
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 7th, 2005, 11:35 PM
#3
Thread Starter
Fanatic Member
Re: Package and Install
So as long as Excel is installed on the other computer it will work fine?
What about the other dependencies where do I find them?
-
Oct 7th, 2005, 11:51 PM
#4
Re: Package and Install
Which installer is it? MSI 1.1? It depends on what your using in your app.
Are you targeting Excel XP only or are you trying to support all versions of Excel?
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 8th, 2005, 12:03 AM
#5
Thread Starter
Fanatic Member
Re: Package and Install
Version 1.1 and I would like to target all excel above 2002
-
Oct 8th, 2005, 12:25 AM
#6
Re: Package and Install
Since you are targeting more then one version of Excel then you need to modify your program to Late Bind with Excel. This means to remove the Excel reference and declare your Excel variables as Object. Then upon start of your app you need to determine the version of Excel that installed, if any, and handle appropriately.
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 8th, 2005, 02:53 AM
#7
Thread Starter
Fanatic Member
Re: Package and Install
I am using all objects however I am using this statement to locate cells and its the only reason I have the excel reference.
VB Code:
'Finds the location of a cell that contains the string provide.
'If found returns the cell number location if not found returns -1
Private Function FindCellLocation(Sheet As Object, Look As String) As Integer
Dim nCol As Integer
For nCol = 1 To Sheet.Cells.SpecialCells(xlCellTypeLastCell).Column
If Sheet.Cells(4, nCol).Value = Look Then
FindCellLocation = nCol
Exit For
End If
FindCellLocation = -1
Next nCol
End Function
Is there any way to preform this section without the reference? If not then I know this program works on the platform it was designed to run on. So I could technically keep the reference. In that case how would I add the execl reference? Or is that not needed if the current version of excel works with the program its running on.
And how do you add the other dependanciess?
Last edited by Jumpercables; Oct 8th, 2005 at 03:01 AM.
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
|