|
-
Aug 2nd, 2007, 07:50 AM
#1
Thread Starter
Member
[RESOLVED] Package & Deployment for win2000
can any one find me a solution of VB 6.0's Package & Deployment.
i have made a program's package of setup thats not running in windows 2000. its giving some error.like , it needs sone update , blabal...
thnkz
-
Aug 2nd, 2007, 07:54 AM
#2
Re: Package & Deployment for win2000
The easy way is to build your distribution pack in a native environment - use Win2K for Win2K and WinXP for WinXP.
For better solution visit (or ask to move this thread) our Application Deployment forum.
-
Aug 2nd, 2007, 08:23 AM
#3
Re: Package & Deployment for win2000
Moved to Application Deployment
-
Aug 2nd, 2007, 06:42 PM
#4
Re: Package & Deployment for win2000
It's an old PDW flaw. You are packaging the wrong VB Runtime files. You should be re-distributing the Universal VB Runtime file and you will not have that particular problem...
-
Aug 2nd, 2007, 10:48 PM
#5
Thread Starter
Member
Re: Package & Deployment for win2000
how can i do so? will randem explain me that? will be very helpful for me.
thnkz
-
Aug 2nd, 2007, 10:57 PM
#6
Re: Package & Deployment for win2000
-
Aug 3rd, 2007, 12:41 PM
#7
Thread Starter
Member
Re: Package & Deployment for win2000
what i need to do first?
will i install "Automatic OS Updater for MDAC/JET/DCOM " to the win2000 then will i run setup file? how can i add the DB driver in the packade(setup file)
-
Aug 3rd, 2007, 02:20 PM
#8
Re: Package & Deployment for win2000
That depends on what installer you are using. in PDW you will need to run it before the installation, In Inno Setup it will run as part of the installation.
To add the DB driver in PDW you should run the DB Client installation prior to running the installation (if you are talking about that). In Inno Setup it can run as part of the installation.
-
Aug 4th, 2007, 12:33 AM
#9
Thread Starter
Member
Re: Package & Deployment for win2000
i have tried with Inno Setup.
i m using WinXP, but when my package is setup under win2000, it is given the Error MSFLEXGRID>OCX is not found or invalid.
sorry to disturb u several times.
thnkz
-
Aug 4th, 2007, 12:45 AM
#10
Re: Package & Deployment for win2000
-
Aug 4th, 2007, 01:37 AM
#11
Thread Starter
Member
Re: Package & Deployment for win2000
Code:
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
[Setup]
AppName=search
AppVerName=Search Demo
AppPublisher=ROOT
DefaultDirName={pf}\search
DefaultGroupName=search
OutputDir=C:\Babu\win2000
OutputBaseFilename=setup
Compression=lzma
SolidCompression=yes
[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
[Files]
Source: "D:\Nola Project\Copy of final\DEMO Search.exe"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
[Icons]
Name: "{group}\search"; Filename: "{app}\DEMO Search.exe"
Name: "{commondesktop}\search"; Filename: "{app}\DEMO Search.exe"; Tasks: desktopicon
[Run]
Filename: "{app}\DEMO Search.exe"; Description: "{cm:LaunchProgram,search}"; Flags: nowait postinstall skipifsilent
-
Aug 4th, 2007, 01:39 AM
#12
Re: Package & Deployment for win2000
You do realize that is not from **********...
-
Aug 5th, 2007, 10:04 AM
#13
Thread Starter
Member
Re: Package & Deployment for win2000
Inno Script is asking for a program file when i go to OPEN menu. which file i need to select in this matter. will it be my project EXE file or any thing else.
tnkx
-
Aug 5th, 2007, 02:51 PM
#14
Re: Package & Deployment for win2000
That does depend on what you asked it to do... If you clicked on browse for vbp file that's what it is looking for. If you clicked on browse for iss file then that is what it is looking for.... In the File->New it is looking for a ********** Project file. It does say that in the browse window.
Help->Instructions
-
Aug 7th, 2007, 12:05 PM
#15
Thread Starter
Member
Re: Package & Deployment for win2000
randem here is a Script, what i need to do else in this matter as INNO Script is showing some erroe in the script:
[CODE]
; ********** Version 7.1 Build 6 Trial
; Randem Systems, Inc.
; Copyright 2003-2007
; Website: http://www.***********
; Support: http://www.**********.com/cgi-bin/discus/discus.cgi
; OS: Windows XP 5.1 build 2600 (Service Pack 2)
; Date: August 07, 2007
; VB Runtime Files Folder: D:\Nola Project\Copy of final\vbrun60sp3\
; Visual Basic Project File (.vbp): C:\Program Files\Randem Systems\**********\********** 7.0\Sample\Sample.vbp
; Inno Setup Script Output File (.iss): C:\Documents and Settings\rony\Desktop\Marco Tech Release Release.iss
; Script Template Files (.tpl): C:\Program Files\Randem Systems\**********\********** 7.0\Templates\Release.tpl
; : C:\Program Files\Randem Systems\**********\********** 7.0\Templates\VBRuntime.tpl
; : C:\Program Files\Randem Systems\**********\********** 7.0\Templates\Vista.tpl
; ------------------------
; References
; ------------------------
; ActiveMovie control type library - (quartz.dll)
; Application Performance Explorer Logger - (AELOGGER.EXE)
; BWXmlHttp Type Library (v1.0) - (BWXmlOffline.dll)
; ComPlus 1.0 Catalog Replication Type Library - (comrepl.dll)
; Microsoft Shell Controls And Automation - (SHELL32.dll)
; Visual Basic runtime objects and procedures - (MSVBVM60.DLL)
; --------------------------
; Components
; --------------------------
; Microsoft Common Dialog Control 6.0 (SP6) - (comdlg32.ocx)
; Microsoft Rich Textbox Control 6.0 (SP6) - (richtx32.ocx)
; Microsoft Windows Common Controls 6.0 (SP6) - (mscomctl.ocx)
[Setup]
ChangesAssociations=yes
;-----------------------------------------------------------------------------------------------------
; Taken from VBP Project File Parameters AppName, AppName AppVersion and Company
;-----------------------------------------------------------------------------------------------------
AppName=**********
AppVerName=********** 5.1.4
AppPublisher=Randem Systems, Inc.
;-----------------------------------------------------------------------------------------------------
AppVersion=5.1.4
VersionInfoVersion=5.1.4
AllowNoIcons=no
DefaultGroupName=**********
DefaultDirName={code:GetAppFolder}\**********
AppCopyright=Copyright 2003, 2004
PrivilegesRequired=Admin
MinVersion=4.1,5.0sp6
Compression=lzma
OutputBaseFilename=**********514Release
[Tasks]
Name: Association2; Description: Associate Sample Temp Files; GroupDescription: Associate Files:
Name: Association1; Description: Associate Sample Test Files; GroupDescription: Associate Files:
Name: AutoOSUpdater; Description: Install MDAC's for Database Operations; GroupDescription: Install MDAC's:
[Files]
Source: vb_dcom_mdac_jet_autosetup.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression;
Source: scripten.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02
Source: scr56en.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01
Source: d:\nola project\copy of final\iamge list.mdb; DestDir: {app}; Flags: ignoreversion;
Source: quartz.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\program files\microsoft visual studio\common\tools\ape\aelogger.exe; DestDir: {sys}; Flags: sharedfile;
Source: bwxmloffline.dll; DestDir: {sys}; Flags: sharedfile;
Source: comrepl.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: comdlg32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: richtx32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: mscomctl.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\program files\randem systems\**********\********** 7.0\**********.exe; DestDir: {app}; Flags: ignoreversion;
Source: d:\nola project\copy of final\vbrun60sp3\oleaut32.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: d:\nola project\copy of final\vbrun60sp3\msvbvm60.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
[INI]
Filename: {app}\**********.url; Section: InternetShortcut; Key: URL; String:
[Icons]
Name: {group}\**********; Filename: {app}\**********.exe; WorkingDir: {app}
Name: {group}\{cm:ProgramOnTheWeb, **********}; Filename: {app}\**********.url
Name: {group}\{cm:UninstallProgram, **********}; Filename: {uninstallexe}
[Run]
Filename: {tmp}\VB_DCOM_MDAC_JET_AutoSetup.exe; Parameters: /NORESTART /VERYSILENT; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: AutoOSUpdater
Filename: {tmp}\scr56en.exe; Parameters: /r:n /q:1; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01; WorkingDir: {tmp}; Flags: skipifdoesntexist
Filename: {tmp}\scripten.exe; Parameters: /r:n /q:1; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02; WorkingDir: {tmp}; Flags: skipifdoesntexist
Filename: {app}\**********.exe; Description: {cm:LaunchProgram, **********}; Flags: nowait postinstall skipifsilent; WorkingDir: {app}
[UninstallDelete]
Type: files; Name: {app}\**********.url
[Registry]
Root: HKCR; SubKey: .tmp; ValueType: string; ValueData: Sample.Tempfiles; Flags: uninsdeletekey; Tasks: Association2
Root: HKCR; SubKey: Sample.Tempfiles; ValueType: string; ValueData: Sample Temp Files; Flags: uninsdeletekey; Tasks: Association2
Root: HKCR; SubKey: Sample.Tempfiles\Shell\Open\Command; ValueType: string; ValueData: {sys}\Notepad.exe %1, open; Flags: uninsdeletevalue; Tasks: Association2
Root: HKCR; Subkey: Sample.Tempfiles\DefaultIcon; ValueType: string; ValueData: {sys}\Notepad.ico, -1; Flags: uninsdeletevalue; Tasks: Association2
Root: HKCR; SubKey: .tst; ValueType: string; ValueData: Sample.Testfiles; Flags: uninsdeletekey; Tasks: Association1
Root: HKCR; SubKey: Sample.Testfiles; ValueType: string; ValueData: Sample Test Files; Flags: uninsdeletekey; Tasks: Association1
Root: HKCR; SubKey: Sample.Testfiles\Shell\Open\Command; ValueType: string; ValueData: {app}\Sample.exe %1, open; Flags: uninsdeletevalue; Tasks: Association1
Root: HKCR; Subkey: Sample.Testfiles\DefaultIcon; ValueType: string; ValueData: {app}\Sample.ico, -1; Flags: uninsdeletevalue; Tasks: Association1
Code:
function GetAppFolder(Param: String): String;
begin
if InstallOnThisVersion('0,6', '0,0') = irInstall then
Result := 'C:\Users\Public\' + ExpandConstant('{username}')
else
Result := ExpandConstant('{pf}');
end;
-
Aug 7th, 2007, 02:39 PM
#16
Re: Package & Deployment for win2000
Of course it is showing errors (as stated in the documentation and the pop-up message after the conversion). You are running in SAFE MODE and ********** will not search the Windows System folders for files.
Also you did not download the scripting runtime files and tell ********** where they were.
Help->Instructions
-
Aug 7th, 2007, 10:50 PM
#17
Thread Starter
Member
Re: Package & Deployment for win2000
Code:
Source: scripten.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02
Source: scr56en.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01
these r the two error.
do i need to download these file?
-
Aug 7th, 2007, 11:43 PM
#18
Re: Package & Deployment for win2000
Yes, It's all in the instructions... And the pop-up screen etc, etc, etc...
It states that you have them in the {tmp} folder is that true or did you manually change those lines?
-
Aug 8th, 2007, 08:20 PM
#19
Re: Package & Deployment for win2000
It's also freaky why you would want to name your setup file the name of **********....
-
Aug 9th, 2007, 11:50 AM
#20
Thread Starter
Member
Re: Package & Deployment for win2000
at last i can make the package & deployment through Inno Script & Inno Setup.
Thnz to RANDEM to help me.
now the prob i m facing is , the EXE file is not coming in Program menu. another one is
Code:
DefaultDirName={code:GetAppFolder}\MARCO Search
{code:GetAppFolder} is also giving an error
do u have any solution of this??
-
Aug 9th, 2007, 04:23 PM
#21
Re: Package & Deployment for win2000
Giving you what error?
Post your script...
-
Aug 9th, 2007, 09:06 PM
#22
Thread Starter
Member
Re: Package & Deployment for win2000
here is the Script::
Code:
; ********** Version 7.1 Build 6 Trial
; Randem Systems, Inc.
; Copyright 2003-2007
; Website: http://www.***********
; Support: http://www.**********.com/cgi-bin/discus/discus.cgi
; OS: Windows XP 5.1 build 2600 (Service Pack 2)
; Date: August 10, 2007
; VB Runtime Files Folder: C:\Babu\Run Time\
; Package and Deployment Wizard Setup.lst File: C:\Babu\winXP\SETUP.LST
; Inno Setup Script Output File (.iss): C:\Babu\Serch Script Release .iss
; ------------------------
; References
; ------------------------
; Visual Basic runtime objects and procedures - (MSVBVM60.DLL)
; OLE Automation - (STDOLE2.TLB)
; Microsoft Remote Data Object 2.0 - (MSRDO20.DLL)
; Microsoft Data Formatting Object Library 6.0 (SP4) - (msstdfmt.dll)
; Microsoft Data Binding Collection - (MSBIND.DLL)
; Microsoft DAO 3.51 Object Library - (DAO350.DLL)
; Microsoft ActiveX Data Objects 2.0 Library - (msado20.tlb)
; --------------------------
; Components
; --------------------------
; Microsoft DataGrid Control 6.0 (OLEDB) - (MSDATGRD.OCX)
; Microsoft Data Bound Grid Control 5.0 (SP3) - (DBGRID32.OCX)
; Microsoft ADO Data Control 6.0 (OLEDB) - (MSADODC.OCX)
; Microsoft FlexGrid Control 6.0 - (MSFLXGRD.OCX)
[Setup]
;-----------------------------------------------------------------------------------------------------
; Taken from VBP Project File Parameters AppName, AppName AppVersion and Company
;-----------------------------------------------------------------------------------------------------
AppName=MARCO Search
AppVerName=MARCO Search
AppPublisher=vang ghor
;-----------------------------------------------------------------------------------------------------
AppVersion=
VersionInfoVersion=
AllowNoIcons=no
WizardImageFile=C:\Documents and Settings\rony\Desktop\untitled.bmp
LicenseFile=C:\Babu\read ME.txt
DefaultGroupName=MARCO Search
DefaultDirName={code:GetAppFolder}\MARCO Search
AppCopyright=(c) Sk. Mahabub-ul Islam,mob:+88 01818373283
PrivilegesRequired=Admin
MinVersion=4.1,5.0sp1
Compression=lzma
OutputBaseFilename=DEMO Search
[Tasks]
Name: desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
Name: AutoOSUpdater; Description: Install MDAC's for Database Operations; GroupDescription: Install MDAC's:
[Files]
Source: c:\documents and settings\rony\vb_dcom_mdac_jet_autosetup.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression;
Source: c:\documents and settings\rony\scripten.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02
Source: c:\documents and settings\rony\scr56en.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01
Source: d:\nola project\copy of final\iamge list.mdb; DestDir: {app}; Flags: ignoreversion;
Source: c:\babu\mdac_typ.exe; DestDir: {app}; Flags: ignoreversion;
Source: c:\program files\rdocurs.dll; DestDir: {sys}; Flags: sharedfile;
Source: c:\program files\msrdo20.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\program files\msstdfmt.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\program files\msbind.dll; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\program files\msdatgrd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\program files\dbgrid32.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\program files\vb5db.dll; DestDir: {sys}; Flags: sharedfile;
Source: c:\program files\common files\dao350.dll; DestDir: {cf}\; Flags: regserver restartreplace sharedfile;
Source: c:\program files\msadodc.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: c:\program files\msflxgrd.ocx; DestDir: {sys}; Flags: regserver restartreplace sharedfile;
Source: d:\nola project\copy of final\demo search.exe; DestDir: {app}; Flags: ignoreversion;
[INI]
Filename: {app}\DEMO Search.url; Section: InternetShortcut; Key: URL; String:
[Run]
Filename: {tmp}\VB_DCOM_MDAC_JET_AutoSetup.exe; Parameters: /NORESTART /VERYSILENT; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: AutoOSUpdater
Filename: {tmp}\scr56en.exe; Parameters: /r:n /q:1; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01; WorkingDir: {tmp}; Flags: skipifdoesntexist
Filename: {tmp}\scripten.exe; Parameters: /r:n /q:1; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02; WorkingDir: {tmp}; Flags: skipifdoesntexist
[UninstallDelete]
Type: files; Name: {app}\DEMO Search.url
-
Aug 9th, 2007, 11:14 PM
#23
Re: Package & Deployment for win2000
You removed the code section. That's why you get the error.
Why would you remove the templates?
Did you turn template processing off?
Last edited by randem; Aug 9th, 2007 at 11:18 PM.
-
Aug 9th, 2007, 11:26 PM
#24
Thread Starter
Member
Re: Package & Deployment for win2000
yes i have removed the template , is that necessary??
however if i Add template its not showing in the "Program Menu". & plz check the script Red mark code. is it correct to compile??
-
Aug 9th, 2007, 11:30 PM
#25
Re: Package & Deployment for win2000
Yes the template are needed that is why they are automatically added.
zip and post your pjt file.
-
Aug 9th, 2007, 11:39 PM
#26
Thread Starter
Member
Re: Package & Deployment for win2000
here is the pjt file is attached with
Mattal.rar
-
Aug 9th, 2007, 11:51 PM
#27
Re: Package & Deployment for win2000
Just put template processing back on (Template Script Button) and re-run.
You also need to use one of the Auto OS Updaters for the target system your project file does not have one selected but you have one in your script. How did that happen?
-
Aug 9th, 2007, 11:52 PM
#28
Re: Package & Deployment for win2000
Note: Before changing default settings make sure you know what they do and if you need them or not. Try to use the default settings to get a working package then modify it so that you know when it breaks what you did.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|