Quantcast
Channel: VBForums - Application Deployment
Viewing all 268 articles
Browse latest View live

include extrenal DLL into exe

$
0
0
Hi,

I have a solution with one command line exe and one DLL file. Is it possible to combine these into one exe file?

I do not have the source code of the DLL.

Regards
Erwin

[RESOLVED] include extrenal DLL into exe

$
0
0
Hi,

I have a solution with one command line exe and one DLL file. Is it possible to combine these into one exe file?

I do not have the source code of the DLL.

Regards
Erwin

Compiling Issue, Is this normal?

$
0
0
I'm compiling my project in VB2019 using (Microsoft Visual Studio Installer Project), the compiling results say the compilation is correct, but I've noticed this in the output window, the compiling process is packing several times the same file, why is that? Is it normal? actually if I compile it one more time it adds one more file for packing.


Name:  Captura de pantalla 2021-01-08 153817.jpg
Views: 26
Size:  73.3 KB
then after compiling one more time it shows this:
Name:  Captura de pantalla 2021-01-08 153818.jpg
Views: 24
Size:  84.6 KB

At the end I get no compiling errors, but what's going on?
Attached Images
  

mscomctl.ocx - wth????

$
0
0
i made an app, i have vb6 installed on my pc and most end users do not.. i put all my images in imageslists - of course this requires the END user to have the "mscomctl.ocx" file. i really don't think it has anything to do with images and imagelists.. but the second form that is supposed to show up after clicking a menu item doesn't show and the error appears...


so i included it.. i even put it in thier system32 AND systemwow64 folders and still get the error "339" - but the file is there in 3 places total.. they shouldn't have to "register" the .ocx file... so what gives? they should be able to run the app with no issues whatsoever! it runs properly the very first time as AVG scans the app upon first run - but after that the "339 error" comes up every time.. and it shouldn't!

Publishing a Visual Basic Net application

$
0
0
If I understand Publishing correctly, I have an option to make the application available offline or only online.

I wish to make the application available offline When the application is installed on a users machine the executable is installed along with library files in a sequence of folders containing "AppData/Local/2.0" etc.

I would like the executable to be located elsewhere and separate for all the library files.

When I move it, It opens and runs, but as I move through it I get an error as shown on the attached image.

Name:  FatalError.JPG
Views: 66
Size:  25.2 KB

If I run it from its installed location then I don't get the error.

If I were to install it as available only online, could I then copy the executable from my projects "\bin\Debug" folder and place it where ever I want on the users computer?

Any suggestions?

Richard
Attached Images
 

[RESOLVED] Visual Basic internal update application system

$
0
0
I would like to ask you about update options in project properties. I found it today, but I am not sure if its the best way for autoupdating my softwares. Well, I want to update my app every day only if built number is lower than on my server. Should I use this or approach written by myself? What approach is better? Thank you.

Can I run a previous version of a click-once app?

$
0
0
My application is a click-once app, and I have the sequentially numbered versions on a network drive in the Application Files folder. I would like to run a previous version. The most current version is 2.0.0.1777. I uninstalled the app from my local machine and on the network I went into the folder for 2.0.0.1769 and double-clicked on the Appication Manifest file. It installed the application again, but when I went into the Help About menu, it said I was running 1777 still. Can I run a previous version this way? I have been doing a lot of development in one area of my code and now I want a previous version for comparison. Thank you.

Visual Studio 2017 How to create a individual setup grouping 3 applications .net

$
0
0
Hello,

How is it possible to create only one setup.exe file which regroups 3 applications vbnet?

I know how to do this for a separate application, via publish.

Here I have an application AppA which starts an application AppB which starts an application AppC. They are all Windows applications forms.

I tried to group these 3 applications into a solution, but I can't see where I can create an setup.exe for a solution.

Any idea? Do I have to use an external software? Which one?

Thanks

Pierre

Two deployment issues

$
0
0
Hello,

I am using Inno Setup to deploy my application and I am facing two problems with VB.Net application

1. My app in using Access and System.Data.OleDb to deal with the data. Many users are receiving ACE.OLEDB.12.0 not registered on local machine error when launching the application, unless they already have Office installed or they go on download and install Microsoft Engine X64 by themselves. Is there a way to include and register a single DLL in the setup to avoid that? I did include AccessDatabaseEngine_X64.exe in the setup, but I am not sure it works for everyone.

2. Windows Defender is causing some issues on some users computers. They won't allow the install, erase the EXE and so on. Is there a way to have WD to leave my app alone? :)

Thanks

C: \ WINDOWS \ SETUP.LST invalid line in setup information

$
0
0
I hope you are well...!
since 4 days I am looking for this error message, unfortunately so far in vain...

This is a small piece of software (Old), but tried it under all Windows, I get this error and setup is aborted ?! I am currently using Window 10, but the same error occurs with the other Windows (Virteull) ...

It would be great, if You could help me ... Thanks for your time and see You!

Sacha!

Name:  15.jpg
Views: 42
Size:  10.9 KB

Name:  20.jpg
Views: 40
Size:  18.2 KB
Thank You!🙏🙏🙏

Error message:


C: \ WINDOWS \ SETUP.LST invalid line in setup information file Section: Bootstrap Files @ VB6DE.DLL, $ (WinSysPath) ,, $ (Shared), 7/6/98/10 1:00:00 AM, 125712,5.0.81.69



SETUP.LST

[Bootstrap]

SetupTitle=Installieren

SetupText=Dateien werden kopiert. Bitte warten...

CabFile=EasyBestell.CAB

Spawn=Setup1.exe

Uninstal=st6unst.exe

TmpDir=msftqws.pdw

Cabs=1



[Bootstrap Files]

File1=@VB6STKIT.DLL,$(WinSysPathSysFile),,,5/11/12 3:47:10 PM,101888,6.0.84.50

File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 1:00:00 AM,22288,4.71.1460.1

File3=@VB6DE.DLL,$(WinSysPath),,$(Shared),7/6/98/10 1:00:00 AM,125712,5.0.81.69

File4=@stdole2.tlb,$(WinSysPathSysFile),$(TLBRegister),,4/13/08 10:12:08 PM,16896,5.1.2600.5512

File5=@asycfilt.dll,$(WinSysPathSysFile),,,4/14/08 8:52:08 AM,65024,5.1.2600.5512

File6=@olepro32.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,4/14/08 8:52:24 AM,84992,5.1.2600.5512

File7=@oleaut32.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,4/14/08 8:52:24 AM,551936,5.1.2600.5512

File8=@msvbvm60.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,4/14/08 8:52:20 AM,1384479,6.0.98.2



[IconGroups]

Group0=EasyBestell

PrivateGroup0=Wahr

Parent0=$(Programs)



[EasyBestell]

Icon1="EasyBestell.exe"

Title1=EasyBestell

StartIn1=$(AppPath)



[Setup]

Title=EasyBestell

DefaultDir=$(ProgramFiles)\EasyBestell

AppExe=EasyBestell.exe

AppToUninstall=EasyBestell.exe



[Setup1 Files]

File1=@MDAC_TYP.EXE,$(AppPath),,,7/15/98 1:00:00 AM,6734128,4.71.1015.0

File2=@MSCOMDE.DLL,$(WinSysPath),,$(Shared),7/6/98 1:00:00 AM,14336,6.0.81.63

File3=@MSCOMM32.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/98 1:00:00 AM,103744,6.0.81.69

File4=@RCHTXDE.DLL,$(WinSysPath),,$(Shared),7/6/98 1:00:00 AM,36352,6.0.81.63

File5=@RICHED32.DLL,$(WinSysPathSysFile),,,5/7/98 1:00:00 AM,174352,4.0.993.4

File6=@RICHTX32.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/98 1:00:00 AM,203576,6.0.81.69

File7=@MSCMCDE.DLL,$(WinSysPath),,$(Shared),7/6/98 1:00:00 AM,158208,6.0.81.63

File8=@mscomctl.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/11/12 3:47:10 PM,1081616,6.1.97.82

File9=@FLXGDDE.DLL,$(WinSysPath),,$(Shared),7/6/98 1:00:00 AM,42496,6.0.81.63

File10=@MSFLXGRD.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),6/24/98 1:00:00 AM,244024,6.0.81.69

File11=@TABCTDE.DLL,$(WinSysPath),,$(Shared),7/6/98 1:00:00 AM,22528,6.0.81.63

File12=@tabctl32.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),12/6/00 1:02:36 PM,209608,6.0.90.43

File13=@CMCTLDE.DLL,$(WinSysPath),,$(Shared),5/5/98 1:00:00 AM,112640,6.0.80.22

File14=@comctl32.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/22/00 4:58:00 PM,608448,6.0.81.5

File15=@CMDLGDE.DLL,$(WinSysPath),,$(Shared),7/6/98 1:00:00 AM,33792,6.0.81.63

File16=@comdlg32.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/22/00 4:58:00 PM,140488,6.0.84.18

File17=@dao360.dll,$(WinSysPath),$(DLLSelfRegister),$(Shared),1/19/08 5:34:50 PM,554008,3.60.9512.0

File18=@CONNDDE.DLL,$(WinSysPath),,$(Shared),7/6/98 1:00:00 AM,31232,6.0.81.63

File19=@RDO20DE.DLL,$(WinSysPath),,$(Shared),7/6/98 1:00:00 AM,69632,6.0.81.63

File20=@RDOCURS.DLL,$(WinSysPath),,$(Shared),4/3/00 6:52:54 PM,151552,6.0.88.4

File21=@MSRDO20.DLL,$(WinSysPath),$(DLLSelfRegister),$(Shared),5/11/00 2:06:20 PM,397312,6.0.88.62

File22=@MSCDRUN.DLL,$(CommonFiles)\Designer,$(DLLSelfRegister),$(Shared),6/18/98 1:00:00 AM,49152,6.0.81.69

File23=@CAPI2032.DLL,$(WinSysPath),,$(Shared),10/25/01 3:56:10 PM,143360,1.0.6.0

File24=@EasyBestell.exe,$(AppPath),,,9/4/14 3:38:41 PM,1929216,1.0.0.5



; Die folgenden Zeilen können gelöscht werden, um zusätzlichen

; Platz für die Anpassung dieser Datei auf einer vollen Installationsdiskette

; zu schaffen.

;

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXX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XXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

; XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Attached Images
   

Installing dll files and making them accessible to several programs

$
0
0
Building on a theme that I touched upon in

https://www.vbforums.com/showthread....91#post5507691

The full scope of my situation is as follows.

In the VB6 platform I created a group of executable files that used the same library files. I only had to install one of these files for the l library dlls’ to be installed, and then all the rest of the programs would work without requiring a separate install.

I am in the process of converting these programs to VB.NET. When these programs are installed their library files get installed in a place unique to each program, with no opportunity for them to be shared.
The option that I wish to explore to address this situation is to install the library files in the GAC.

This link:

http://www.developerin.net/a/68-Asse...emblies-in-GAC

Indicates that I only need to drag the dlls’ into the folder (C:\Windows\assembly) and they will be available to all the programs. I am accustomed to using the regsvr32 utility to perform a similar operation in Windows 7 systems, but there seem to be no mention of this as a necessity. Also, when I examine the contents of the C:\Windows\assembly folder, I see that the dlls’ are in distinct folders some with accompanying .ini files. This makes me think that the solution is more than just dragging and dropping dll files.

I would appreciate comments on this method.

By examining 3 locations I can identify the necessary dll files. These locations are:

• projects \obj\Debug folder
• projects publish tab under the Application Files.
• folder of the installed program

in the folder of the installed program for each dll file there also exists a manifest file and -ms file. This makes me doubt that simply placing the dll file in the GAC folder will not resolve my problem.

Bottom Line, is there a way to install files such as

AxInterop.WMPLib.dll
BouncyCastle.Crypto.dll
Interop.WMPLib.dll
itextsharp.dll

In a location that would make them accessible by several programs.

Thanks

Deployment Issue - Cannot Download Application

$
0
0
Hello:

After creating dozens of applications the same way without trouble, I am getting this error when trying to install:
Code:

cannot download the application missing required files contact application vendor for assistance
Haven't seen this one before. I suppose some Windows Update (that's the most recent issue we seem to have) has been applied.

Let me know if you have any suggestions.

Thanks!

[RESOLVED] define application installation folder

$
0
0
I created an application which I install at a computer at work.
When installing the application ends up in some complicated folder under AppData\Local\.

Is there no way to always install the application to the same folder like: C:\Windows\Program Files\My App?

PHP7 - IIS 10 - MySQL

$
0
0
This is my first time deploying a web application written in PHP/MySQL on a windows server and boy oh boy it has been tough. For background, I'm used to purchasing a hosting service like HostGator and then serving my website using cpanel. Doing this on a windows machine has been so incredibly difficult it is unbelievable.

I believe that I finally have the correct bindings setup for my PHP website as well as the handler mappings.

The IT guy setup an A record in GoDaddy for the subdomain I'm deploying on to resolve externally too. Right now I can hit the website from the same machine that the server is located on if I navigate to https://portal.--removed--.com:835/ but right now I get a 404 if I try to navigate to https://portal.--removed--.com/ (without the port) from an external machine. I am guessing this is because it takes a while for GoDaddy to resolve the subdomain?

Now I'm struggling to setup the MySQL database so that it can be access from an external machine. When I'm on the on-prem machine, I can hit the MySQL database just fine by using localhost:3306. But how exactly do I set it up so that I can communicate with the database from anywhere?

Custom uninstaller help

$
0
0
I created a vb.net application in VS 2019. Using Publish I can create an installer and the installer runs file. But, when the program is removed from Windows Add/Remove, the folder the program is installed in is not removed. Also my program writes a few files to the same folder that I would like to remove upon uninstall.

I'm thinking this is a custom uninstall action. But I do not know how to accomplish this.

Anyone have any step by step instructions on how to do this? I can't find any good help docs on this.

I'm assuming this involves adding an installer class?

Thanks.

How to get System Requirements for my VB.net Project?

$
0
0
Hello,

i'm not an expert yet in vb.net. Now i have my first project written in vb.net and im stucking in defining system requirements for the project.

Are there fixed requirements for different project size or is there any possibility to deduce from something or is it always a assumption?

Thank you very much in advance ;)

Setup file created with downloaded from website shows error : Unknown Publisher

$
0
0
Hello everyone,

Please have a look on attached files, I designed a small project on VS-2013 and created setup.msi from install shield then I uploaded my setup.msi file on my website so that my clients can download and run the msi file. When my client downloaded and ran the msi file is shows an error : Unknown Publisher (see attached file).

My question is
How to get rid of "Windows Protected your PC"
How to add publisher name on my setup.msi
How to Digitally sign setup file.

Please help me out

Thank you
Ladak
Attached Images
  

Creating a windows installer for our programs

$
0
0
Hi:

I need a good installer that can install/uninstall my vb.net program on various versions of windows. I also need it to check for the correct version of .Net core and install it if necessary.

Any recommendations?

Thanks.

[RESOLVED] Create VB6 App Installation Package to install on latest Win OS's

$
0
0
I have a very old vb6 application that I need to create an installation package so a user can install on his system.

I've used InnoSetup for another vb6 application and it worked great.

But for another vb6 app, I keep getting installation errors and I know it is because I don't know how I'm suppose to install/register (or not) certain DLLs and such.

And I don't know if InnoSetup is the best way to go either.

How do you know what special treatment each DLL or OCX requires or where it needs to go?

Is there simple tool or something that will quickly tell me what DLLs or OCXs I need to package, and where it needs to go on the system, and whether it needs to be registered or not?

Rich

[RESOLVED] Run-Time error '429': ActiveX component can't create object. VB6 Deployment Package

$
0
0
Okay, so I have this program creating an installation package for my old VB6 application.

I started off using InnoSetup, but in another thread the only comment was 'meh', like don't use it.
Okay, so I created an install package using the VB6 Deployment Package Wizard.

Both installation packages, InnoSetup created and DPW created, end up with same result.

When I try to run the installed program, I get the run-time error '429'.

I did a search within the forum but it isn't the best search system as I get all kinds of things not even close to the RT429 issue.

The big problem is that it does NOT tell me what 'object' it can't create. How does one find out in order to fix?

Is there a log somewhere that would spell this out?

Here is a list of the DLL and OCX files that I found in the original InnoSetup script .iss file associated with my app.

msvbvm60.dll **
oleaut32.dll
olepro32.dll
asycfilt.dll
comcat.dll

mscomct2.ocx *
IGResizer40.ocx *
msfl651d.dll
msflxgrd.ocx *
comctl32.ocx *
comdlg32.ocx *
DirectCOM.dll
sqlite36_engine.dll
dhRichClient3.dll

(msdatgrd.ocx)
(mschrt20.ocx)

** = Listed in References
* = Listed in Components
( ) = Listed in Components but not in my original InnoSetup install script.

DirectCOM.dll, sqlite36_engine.dll, dhRichClient3.dll did not show up in a text search of my code. So I don't know if they are called by something else or what. This is a bit over my head.

Does anyone have an idea as to what I should be doing to fix this? Thanks.
Viewing all 268 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>