Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Package and Deployment Wizard (VB 6)

Status
Not open for further replies.

rpc1195

Programmer
Dec 30, 2004
3
US
Every time I try to execute the Package and Deployment wizard, the process doesn't go forward (seems to go in an infinite loop). Is there any way I can trace this or get a bug fix or fix this any other way?

Also, I've tried using Inno Setup, but still can't get it to work (application gives me write error).
 
Stick with INNO ovewr the PDW. They have lots of resources on their site. You just have to search and ask. You can also post your INNO script and we can have a look.

zemp
 
The application that was installed after running the setup.exe file gives me this error: "Run Time Error '429': ActiveX Component Can't Create Object". I've tried to looked that up but it doesn't seem to help. I looked at various places (Inno web site, Microsoft site, etc.) but no luck. I'm probably missing a file on my Inno script. Here it is for analysing. I would forever be grateful if you can figure out what it is.

Note I spaced the source files to make it easier to read.

Beginning of the script:

; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

[Setup]
AppName=TestApp
AppVerName=TestApp 1.0
AppPublisher=TestApp System, Inc.
AppPublisherURL=http://www.TestApp.com
AppSupportURL=http://www.TestApp.com
AppUpdatesURL=http://www.TestApp.com
DefaultDirName={pf}\TestAppA
DefaultGroupName=TestApp
Compression=lzma
SolidCompression=yes

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
; begin VB system files
; (Note: Scroll to the right to see the full lines!)

Source: "C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\stdole2.tlb"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regtypelib

Source: "C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\msvbvm60.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver

Source: "C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\oleaut32.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver

Source: "C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\olepro32.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall
sharedfile regserver

Source: "C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\asycfilt.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile

Source: "C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\comcat.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver

Source: "C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\msado15.dll"; DestDir: "{sys}"; Flags: restartreplace uninsneveruninstall sharedfile regserver

; end VB system files

Source: "C:\TestApp Source\TestAppRelease\TestApp.exe"; DestDir: "{app}"; Flags: ignoreversion

Source: "C:\TestApp Source\TestAppRelease\Database\GeneralLedger.mdb"; DestDir: "{app}\Database";

Source: "C:\TestApp Source\TestAppRelease\Database\Adam0001.mdb"; DestDir: "{app}\Database";

Source: "C:\TestApp Source\TestAppRelease\Database\TestAppTemplate.mdb"; DestDir: "{app}\Database";

Source: "C:\TestApp Source\TestAppRelease\TestApp#2.gif"; DestDir: "{app}";

Source: "C:\TestApp Source\TestAppRelease\TestApp.gif"; DestDir: "{app}";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\comdlg32.ocx"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\TestApp"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\TestApp.bat"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\TestApp.dll"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\TestApp.exp"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\TestApp.lib"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\DAO350.DLL"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\MSBIND.DLL"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\mscomctl.ocx"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\MSDBRPTR.DLL"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\msderun.dll"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\Msflxgrd.ocx"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\msstdfmt.dll"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\PrintPreview.dll"; DestDir: "{app}";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\TABCTL32.OCX"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\Vsflex6.oca"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\Vsflex6.ocx"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\Vsflex6d.oca"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\Vsflex6d.ocx"; DestDir: "{app}\AppExt";

Source: "C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\CO2C40EN.DLL"; DestDir: "{sys}";

Source: "C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\MFC40.DLL"; DestDir: "{sys}";

Source: "C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\MSVCRT20.DLL"; DestDir: "{sys}";

Source: "C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\MSVCRT40.DLL"; DestDir: "{sys}";

Source: "C:\Program Files\Microsoft Visual Studio\VB98\Wizards\PDWizard\Redist\MSVCRT.DLL"; DestDir: "{sys}";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\comct332.ocx"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\Msadodc.ocx"; DestDir: "{app}\AppExt";

Source: "C:\TestApp Source\TestAppRelease\ApplicationExtention\vb5db.dll"; DestDir: "{sys}";

Source: "C:\TestApp_INSTALL2\msjet35.dll"; DestDir: "{sys}";

Source: "C:\TestApp_INSTALL2\msjint35.dll"; DestDir: "{sys}";

Source: "C:\TestApp_INSTALL2\msjter35.dll"; DestDir: "{sys}";

Source: "C:\TestApp_INSTALL2\msrd2x35.dll"; DestDir: "{sys}";

Source: "C:\TestApp_INSTALL2\vb6stkit.dll"; DestDir: "{sys}";

Source: "C:\TestApp_INSTALL2\vbajet32.dll"; DestDir: "{sys}";

Source: "C:\TestApp_INSTALL2\expsrv.dll"; DestDir: "{sys}";

Source: "C:\Program Files\Common Files\Microsoft Shared\DAO\DAO360.DLL"; DestDir: "{app}\AppExt";

; NOTE: Don't use "" on any shared system files

[Icons]
Name: "{group}\TestApp"; Filename: "{app}\TestApp.exe"
Name: "{userdesktop}\TestApp"; Filename: "{app}\TestApp.exe"; Tasks: desktopicon

[Run]
Filename: "{app}\TestApp.exe"; Description: "{cm:LaunchProgram,TestApp}"; Flags: nowait postinstall skipifsilent
 
Maybe some DLL or OCX needs another DLL or component.
I use VB5 and some DLLS need for example vb6 runtimes, winsock, etc, you should try to see what component is missing studying the references that u use.
Cya.
 
LOL... On my pc at work (Dell 420), when I click the Font button from the properties pane, it hangs up the IDE...

The work around I found, for some reason, seems to be just a simple right click on the main VB button in the task bar... the font window pops up, and works fine after that (until I try to open it next time...)

You might try that to see if it works... (weird things like that tend to happen from time to time)

Same program works fine at home (Dell 4500)...

It just screws up on that PC for some reason... ???

Have Fun, Be Young... Code BASIC
-Josh

cubee101.gif


PROGRAMMER: (n) Red-eyed, mumbling mammal capable of conversing with inanimate objects.
 
I've solved the problem. I've just installed Visual Studio Install 1.1 and it works. This is what should be used to deploy Visual Basic Programs and other Visual Studio Languages. From what I understand the PDW hasn't been updated since 1998 but the installer is updated every now and then. Also, I just can't get it to work with INNO so bottom line, the Visual Studio Installer is the one to use.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top