나는 이벤트 뷰어에서 원인을 찾는 것에 대한 조언을 확실히 따릅니다. 하지만 적절한 배포 방법을 필요로한다고 생각합니다.
처음에는 service pack 6 for VB6을 설치하므로 최신 버전을 사용할 수 있습니다. 그러면 적절한 msi 설치 프로그램을 만들 것입니다.
당신이 필요합니다 이렇게하려면 다음을 수행
Visual studio installer 1.1 from MS을.
Merge modules for VB6 SP6.
Visual Studio 설치 관리자와 함께 제공되는 기존 병합 모듈을 통해 병합 모듈을 추출해야하며 C:\Program Files\Microsoft Visual Studio\COMMON\Tools\VSInst\BuildRes
에 있습니다. 그러면 msi 설치 프로그램을 만들고이를 사용하여 응용 프로그램을 배포합니다. DLL을 등록하여 종속성이 설치되어 있는지 확인합니다.
1) Open visual studio installer
2) Pick the VB Installer package type in the wizard
3) Change the name to the name of your project
4) Change the location to where you want the installer package to be created (I typically create a folder under the project called Install)
5) Choose create Installer, not merge module (unless you want to package up dependencies for a subproject)
6) Pick the existing VB project to deploy
7) Under Files on right add any other files that aren't straight dependencies (documentation or other related files)
8) Under Build Menu -> Build Configuration change it to release.
9) Click File System, then Application Folder, change the default install folder to be <company name>\<app Name>
10) Right click and Delete unneeded/bad dependencies. For example MDAC.msm doesn't normally need to be deployed by the app.
11) Change ActiveX dlls to be self register in properties.
12) Under File System, User's Start Menu - Add folder hierarchy User's Start Menu -> Programs -> <company name> -> <app name>
13) Drag system created shortcut to app from User's Start Menu to the App Name folder. Rename as appropriate.
14) Add shortcut to user's desktop folder if desired
15) Add any other file shortcuts (say to documentation) in the App Name folder or user's desktop
16) Under User Interface, click all the leaf nodes (like the welcome screen) and change the banner bitmap if you have one.
17) Configure Project Properties as appropriate (I fill in support information and update version number)
Build -> Build
THe msi file will be created in a subfolder of the install folder.
Whenever you make a new exe you just open the existing visual studio installer project and choose build->build. It will create a new msi for you.
:
는 설치 프로그램을 만들려면