|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
problems with packaging and deploying VB6I have both VB6 and Visual Studio installed on XP Pro SP 2 machine. Installed
in Office 2007. Im having trouble compiling my package. Used to work fine, but now on my new computer with above installed it gives me a build error. Unable to build the package because install location needs to be set for some files. Most of the files are VB6 files like oleaut32.dll etc. I have the apppath set for 2007 excel.exe but it tells me I still need to set the install location. So Im confused as to what the problem is. Is the problem because I have both VB6 and Visual Studio installed, or is the problem related to Office 2007. I have no clue Can anyone tell em what the error indicates. Thanks
Show quote
"ACCsupport" <ACCsupp***@discussions.microsoft.com> wrote in message What do you mean by Visual Studio? VB6 is part of Visual Studio 6.0news:AD413A0C-9605-4213-803C-0B111A0E473B@microsoft.com... >I have both VB6 and Visual Studio installed on XP Pro SP 2 machine. >Installed > in Office 2007. Im having trouble compiling my package. Used to work fine, > but now on my new computer with above installed it gives me a build error. > Unable to build the package because install location needs to be set for > some > files. Most of the files are VB6 files like oleaut32.dll etc. I have the > apppath set for 2007 excel.exe but it tells me I still need to set the > install location. > So Im confused as to what the problem is. Is the problem because I have > both > VB6 and Visual Studio installed, or is the problem related to Office 2007. > I > have no clue > > Can anyone tell em what the error indicates. > Thanks Galen I have mutliple versions installed on machine - I have to older verison plus
I have Visual Studio 2005 Professional installed. All packages are created in VB6 and I havent had time to move everything ove to the new version. The error i get is as follows; Unable to build the package because the install location needs to be set for the following files: c:\windows\system32\oleaut32.dll c:\windows\system32\olepro32.dll c:\windows\system32\asycfilt.dll c:\windows\system32\stdole2.tlb c:\program files\Microsoft Office\Office12\excel.exe c:\windows\system32\sysinfo.ocx the majority of the DLL refer to VB6. For the Excel file for example, the install location i have set the APP path the the fsame folder above but still get the message. The only thing I can think of is when installing the newer 2005 version it overwrote something in the other version that i need to package my older items with VB6. Show quote "Galen Somerville" wrote: > > "ACCsupport" <ACCsupp***@discussions.microsoft.com> wrote in message > news:AD413A0C-9605-4213-803C-0B111A0E473B@microsoft.com... > >I have both VB6 and Visual Studio installed on XP Pro SP 2 machine. > >Installed > > in Office 2007. Im having trouble compiling my package. Used to work fine, > > but now on my new computer with above installed it gives me a build error. > > Unable to build the package because install location needs to be set for > > some > > files. Most of the files are VB6 files like oleaut32.dll etc. I have the > > apppath set for 2007 excel.exe but it tells me I still need to set the > > install location. > > So Im confused as to what the problem is. Is the problem because I have > > both > > VB6 and Visual Studio installed, or is the problem related to Office 2007. > > I > > have no clue > > > > Can anyone tell em what the error indicates. > > Thanks > > What do you mean by Visual Studio? VB6 is part of Visual Studio 6.0 > > Galen > > > Although this may not be part of the answer you are looking for, I should
point out that it is not legal for you to distribute the excel.exe file. This aside, if you are using whatever P&D wizxard that comes with VS 2005, it's a pretty safe bet it's not going to properly package VB 6 projects without some major work involved. I would consider an alternative installer. Inno setup is a highly recommended installer: http://www.jrsoftware.org/ - Kev Show quote "ACCsupport" <ACCsupp***@discussions.microsoft.com> wrote in message news:2634FC6D-3188-4F46-8984-633E79D81338@microsoft.com... |I have mutliple versions installed on machine - I have to older verison plus | I have Visual Studio 2005 Professional installed. All packages are created in | VB6 and I havent had time to move everything ove to the new version. | The error i get is as follows; | Unable to build the package because the install location needs to be set for | the following files: | c:\windows\system32\oleaut32.dll | c:\windows\system32\olepro32.dll | c:\windows\system32\asycfilt.dll | c:\windows\system32\stdole2.tlb | c:\program files\Microsoft Office\Office12\excel.exe | c:\windows\system32\sysinfo.ocx | | the majority of the DLL refer to VB6. For the Excel file for example, the | install location i have set the APP path the the fsame folder above but still | get the message. | | The only thing I can think of is when installing the newer 2005 version it | overwrote something in the other version that i need to package my older | items with VB6. | | "Galen Somerville" wrote: | | > | > "ACCsupport" <ACCsupp***@discussions.microsoft.com> wrote in message | > news:AD413A0C-9605-4213-803C-0B111A0E473B@microsoft.com... | > >I have both VB6 and Visual Studio installed on XP Pro SP 2 machine. | > >Installed | > > in Office 2007. Im having trouble compiling my package. Used to work fine, | > > but now on my new computer with above installed it gives me a build error. | > > Unable to build the package because install location needs to be set for | > > some | > > files. Most of the files are VB6 files like oleaut32.dll etc. I have the | > > apppath set for 2007 excel.exe but it tells me I still need to set the | > > install location. | > > So Im confused as to what the problem is. Is the problem because I have | > > both | > > VB6 and Visual Studio installed, or is the problem related to Office 2007. | > > I | > > have no clue | > > | > > Can anyone tell em what the error indicates. | > > Thanks | > | > What do you mean by Visual Studio? VB6 is part of Visual Studio 6.0 | > | > Galen | > | > | > anyone who gets the compiled program already has Office/Excel installed on
their computers so they already hold a license for it. I am tech support contact for the user having the problem so I cant really say why he is including the exe file with the package, but as far as I know he only packeges the exe as it is a sqlquery package that exports data to an excel format that the user can then use. thanks for the info, I guess I will have to look at either removing 2005 verison until I am ready to move or change the packager I am using. Show quote "Kevin Provance" wrote: > Although this may not be part of the answer you are looking for, I should > point out that it is not legal for you to distribute the excel.exe file. > This aside, if you are using whatever P&D wizxard that comes with VS 2005, > it's a pretty safe bet it's not going to properly package VB 6 projects > without some major work involved. > > I would consider an alternative installer. Inno setup is a highly > recommended installer: http://www.jrsoftware.org/ > > - Kev > > "ACCsupport" <ACCsupp***@discussions.microsoft.com> wrote in message > news:2634FC6D-3188-4F46-8984-633E79D81338@microsoft.com... > |I have mutliple versions installed on machine - I have to older verison > plus > | I have Visual Studio 2005 Professional installed. All packages are created > in > | VB6 and I havent had time to move everything ove to the new version. > | The error i get is as follows; > | Unable to build the package because the install location needs to be set > for > | the following files: > | c:\windows\system32\oleaut32.dll > | c:\windows\system32\olepro32.dll > | c:\windows\system32\asycfilt.dll > | c:\windows\system32\stdole2.tlb > | c:\program files\Microsoft Office\Office12\excel.exe > | c:\windows\system32\sysinfo.ocx > | > | the majority of the DLL refer to VB6. For the Excel file for example, the > | install location i have set the APP path the the fsame folder above but > still > | get the message. > | > | The only thing I can think of is when installing the newer 2005 version it > | overwrote something in the other version that i need to package my older > | items with VB6. > | > | "Galen Somerville" wrote: > | > | > > | > "ACCsupport" <ACCsupp***@discussions.microsoft.com> wrote in message > | > news:AD413A0C-9605-4213-803C-0B111A0E473B@microsoft.com... > | > >I have both VB6 and Visual Studio installed on XP Pro SP 2 machine. > | > >Installed > | > > in Office 2007. Im having trouble compiling my package. Used to work > fine, > | > > but now on my new computer with above installed it gives me a build > error. > | > > Unable to build the package because install location needs to be set > for > | > > some > | > > files. Most of the files are VB6 files like oleaut32.dll etc. I have > the > | > > apppath set for 2007 excel.exe but it tells me I still need to set the > | > > install location. > | > > So Im confused as to what the problem is. Is the problem because I > have > | > > both > | > > VB6 and Visual Studio installed, or is the problem related to Office > 2007. > | > > I > | > > have no clue > | > > > | > > Can anyone tell em what the error indicates. > | > > Thanks > | > > | > What do you mean by Visual Studio? VB6 is part of Visual Studio 6.0 > | > > | > Galen > | > > | > > | > > > > ACCsupport <ACCsupp***@discussions.microsoft.com>'s wild
thoughts were released on Mon, 19 Nov 2007 12:53:02 -0800 bearing the following fruit: >anyone who gets the compiled program already has Office/Excel installed on In which case you don't need to distribute it.>their computers so they already hold a license for it. J Show quote > I am tech support >contact for the user having the problem so I cant really say why he is >including the exe file with the package, but as far as I know he only >packeges the exe as it is a sqlquery package that exports data to an excel >format that the user can then use. > >thanks for the info, I guess I will have to look at either removing 2005 >verison until I am ready to move or change the packager I am using. > >"Kevin Provance" wrote: > >> Although this may not be part of the answer you are looking for, I should >> point out that it is not legal for you to distribute the excel.exe file. >> This aside, if you are using whatever P&D wizxard that comes with VS 2005, >> it's a pretty safe bet it's not going to properly package VB 6 projects >> without some major work involved. >> >> I would consider an alternative installer. Inno setup is a highly >> recommended installer: http://www.jrsoftware.org/ >> >> - Kev >> >> "ACCsupport" <ACCsupp***@discussions.microsoft.com> wrote in message >> news:2634FC6D-3188-4F46-8984-633E79D81338@microsoft.com... >> |I have mutliple versions installed on machine - I have to older verison >> plus >> | I have Visual Studio 2005 Professional installed. All packages are created >> in >> | VB6 and I havent had time to move everything ove to the new version. >> | The error i get is as follows; >> | Unable to build the package because the install location needs to be set >> for >> | the following files: >> | c:\windows\system32\oleaut32.dll >> | c:\windows\system32\olepro32.dll >> | c:\windows\system32\asycfilt.dll >> | c:\windows\system32\stdole2.tlb >> | c:\program files\Microsoft Office\Office12\excel.exe >> | c:\windows\system32\sysinfo.ocx >> | >> | the majority of the DLL refer to VB6. For the Excel file for example, the >> | install location i have set the APP path the the fsame folder above but >> still >> | get the message. >> | >> | The only thing I can think of is when installing the newer 2005 version it >> | overwrote something in the other version that i need to package my older >> | items with VB6. >> | >> | "Galen Somerville" wrote: >> | >> | > >> | > "ACCsupport" <ACCsupp***@discussions.microsoft.com> wrote in message >> | > news:AD413A0C-9605-4213-803C-0B111A0E473B@microsoft.com... >> | > >I have both VB6 and Visual Studio installed on XP Pro SP 2 machine. >> | > >Installed >> | > > in Office 2007. Im having trouble compiling my package. Used to work >> fine, >> | > > but now on my new computer with above installed it gives me a build >> error. >> | > > Unable to build the package because install location needs to be set >> for >> | > > some >> | > > files. Most of the files are VB6 files like oleaut32.dll etc. I have >> the >> | > > apppath set for 2007 excel.exe but it tells me I still need to set the >> | > > install location. >> | > > So Im confused as to what the problem is. Is the problem because I >> have >> | > > both >> | > > VB6 and Visual Studio installed, or is the problem related to Office >> 2007. >> | > > I >> | > > have no clue >> | > > >> | > > Can anyone tell em what the error indicates. >> | > > Thanks >> | > >> | > What do you mean by Visual Studio? VB6 is part of Visual Studio 6.0 >> | > >> | > Galen >> | > >> | > >> | > >> >> >> -- Jan Hyde https://mvp.support.microsoft.com/profile/Jan.Hyde
Show quote
"ACCsupport" <ACCsupp***@discussions.microsoft.com> wrote in message What are you using to package your VB6 app? I get the impression you're news:2634FC6D-3188-4F46-8984-633E79D81338@microsoft.com... >I have mutliple versions installed on machine - I have to older verison >plus > I have Visual Studio 2005 Professional installed. All packages are created > in > VB6 and I havent had time to move everything ove to the new version. > The error i get is as follows; > Unable to build the package because the install location needs to be set > for > the following files: > c:\windows\system32\oleaut32.dll > c:\windows\system32\olepro32.dll > c:\windows\system32\asycfilt.dll > c:\windows\system32\stdole2.tlb > c:\program files\Microsoft Office\Office12\excel.exe > c:\windows\system32\sysinfo.ocx > > the majority of the DLL refer to VB6. For the Excel file for example, the > install location i have set the APP path the the fsame folder above but > still > get the message. > > The only thing I can think of is when installing the newer 2005 version it > overwrote something in the other version that i need to package my older > items with VB6. using VS2005 to do that. If that's the case, you'd be better off asking in a newsgroup intended for .NET. OR, package your VB6 app using a different tool. While I'm sure it's got to be possible to create a distribution package using VS2005 that includes components written with VB6 (and any dependencies), since the tool being used is VS2005, the question belongs in a "dotnet" newsgroup. -- Mike Microsoft MVP Visual Basic |
|||||||||||||||||||||||