私は、イベントビューアで原因を探すためのアドバイスに間違いなく従います。しかし、私はあなたも適切な展開方法を得る必要があると思います。
最初に私はservice pack 6 for VB6をインストールしますので、あなたは最新です。 次に、適切なmsiインストーラを作成します。これを行うには
次のものが必要でしょう:
Visual studio installer 1.1 from MSを。
Merge modules for VB6 SP6。
マージモジュールは、Visual Studioのインストーラが付属しています。そして、私はMSIインストーラを作成し、アプリを展開することを使用するC:\Program Files\Microsoft Visual Studio\COMMON\Tools\VSInst\BuildRes
で発見され、既存のマージモジュールを介して抽出する必要があります。 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.
:
は、インストーラを作成するには