Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: luigi36 on October 30, 2007, 11:12:50 PM

Title: Bad VB6 redis files
Post by: luigi36 on October 30, 2007, 11:12:50 PM
I have installed 7.3 b uild 0 and redist files include VB version 5 and not VB version 6.
See example:
[Files]
Source: c:program filesrandem systemsinnoscriptinnoscript 7vb 6 redist filesmsvbvm60.dll; DestDir: {sys}; Flags:  uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:program filesrandem systemsinnoscriptinnoscript 7vb 5 redist filesoleaut32.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:program filesrandem systemsinnoscriptinnoscript 7vb 5 redist filesolepro32.dll; DestDir: {sys}; Flags:  uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:program filesrandem systemsinnoscriptinnoscript 7vb 5 redist filesasycfilt.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:program filesrandem systemsinnoscriptinnoscript 7vb 5 redist filesstdole2.tlb; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile regtypelib; OnlyBelowVersion: 0,6
Source: c:program filesrandem systemsinnoscriptinnoscript 7vb 5 redist filescomcat.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:program filesrandem systemsinnoscriptinnoscript 7vb 5 redist filesvb5db.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
 
By and excuses my poor english
Luigi
Title: Bad VB6 redis files
Post by: Randem on October 31, 2007, 10:30:55 AM
You must have chosen VB 5. Choose VB 6 instead then re-convert. Or just change the 5 to a 6 then re-convert.
Title: Bad VB6 redis files
Post by: luigi36 on October 31, 2007, 12:37:45 PM
I'm sorry but i choose VB6 and VB Runtime Files Folder is C:\Program Files\Randem Systems\InnoScript\InnoScript 7\VB 6 Redist Files\
 
path before convert is D:\Innosetup\VB6Redis
path after convert is : D:\SoftLme\VB6\Utilities\Agenda\;C:\Program Files\Fichiers communs\System\ado\;C:\Program Files\Randem Systems\InnoScript\InnoScript 7\VB 5 Redist Files\;D:\Innosetup\VB6Redis\;
Why you include VB5 ? and others paths?
 
In the prevous version all was fine with the same script.
 
That is the generated script;
; InnoScript Version 7.3  Build 0
; Randem Systems, Inc.
; Copyright 2003-2007
; Website:  https://randemsystems.com (https://randemsystems.com)
; Support:  https://randemsystems.support (https://randemsystems.support)
; OS: Windows XP 5.1 build 2600 (Service Pack 2)
 
; Date: octobre 31, 2007
 
;              VB Runtime Files Folder:   C:\Program Files\Randem Systems\InnoScript\InnoScript 7\VB 6 Redist Files\
;     Visual Basic Project File (.vbp):   D:\SoftLme\VB6\Utilities\Agenda\Agenda.vbp
; Inno Setup Script Output File (.iss):   D:\InnoSetup\Scripts\Agenda  Release.iss
;         Script Template Files (.tpl):   C:\Program Files\Randem Systems\InnoScript\InnoScript 7\Templates\Release.tpl
;                                     :   C:\Program Files\Randem Systems\InnoScript\InnoScript 7\Templates\VBRuntime.tpl
;                                     :   C:\Program Files\Randem Systems\InnoScript\InnoScript 7\Templates\Vista.tpl
 
; ------------------------
;        References
; ------------------------
 
; Visual Basic For Applications - (MSVBVM60.DLL)
; OLE Automation - (STDOLE2.TLB)
; Microsoft ActiveX Data Objects 2.5 Library - (msado25.tlb)
 
 
; --------------------------
;        Components
; --------------------------
 
; Microsoft Common Dialog Control 6.0 (SP6) - (comdlg32.ocx)
; Microsoft Tabbed Dialog Control 6.0 (SP6) - (tabctl32.ocx)
; Microsoft Windows Common Controls 6.0 (SP6) - (mscomctl.ocx)
; Microsoft Windows Common Controls-2 6.0 (SP6) - (MSCOMCT2.OCX)
 
 
[Setup]
AppId=Agenda Release
 
;-----------------------------------------------------------------------------------------------------
; Taken from VBP Project File Parameters AppName, AppName AppVersion and Company
;-----------------------------------------------------------------------------------------------------
 
AppName=Agenda
AppVerName=Agenda 1.0.0
AppPublisher=Private
 
;-----------------------------------------------------------------------------------------------------
 
AppVersion=1.0.0
VersionInfoVersion=1.0.0
AllowNoIcons=no
LicenseFile=D:\InnoSetup\Scripts\License.txt
UninstallDisplayIcon=D:\InnoSetup\Scripts\Uninstall.ico
DefaultGroupName=Utilities\Agenda
DefaultDirName={code:GetAppFolder}\Agenda
AppCopyright=
PrivilegesRequired=Admin
MinVersion=4.0,4.0
Compression=lzma
OutputBaseFilename=AgendaSetupRelease
 
[Tasks]
Name: ScriptingRuntime; Description: Install Microsoft's Scripting Runtime; GroupDescription: Install Scripting Runtime:
 
[Files]
Source: c:\program files\randem systems\innoscript\innoscript 7\vb 6 redist files\msvbvm60.dll; DestDir: {sys}; Flags:  uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\innoscript\innoscript 7\vb 5 redist files\oleaut32.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\innoscript\innoscript 7\vb 5 redist files\olepro32.dll; DestDir: {sys}; Flags:  uninsneveruninstall regserver restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\innoscript\innoscript 7\vb 5 redist files\asycfilt.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\innoscript\innoscript 7\vb 5 redist files\stdole2.tlb; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile regtypelib; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\innoscript\innoscript 7\vb 5 redist files\comcat.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: c:\program files\randem systems\innoscript\innoscript 7\vb 5 redist files\vb5db.dll; DestDir: {sys}; Flags:  uninsneveruninstall restartreplace sharedfile; OnlyBelowVersion: 0,6
Source: d:\innosetup\vb6redis\scripten.exe; DestDir: {tmp}; Flags:  deleteafterinstall ignoreversion nocompression; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02; Tasks: ScriptingRuntime
Source: d:\innosetup\vb6redis\scr56en.exe; DestDir: {tmp}; Flags:  deleteafterinstall ignoreversion nocompression; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01; Tasks: ScriptingRuntime
Source: d:\innosetup\vb6redis\comdlg32.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: d:\innosetup\vb6redis\tabctl32.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: d:\innosetup\vb6redis\mscomctl.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: d:\innosetup\vb6redis\mscomct2.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: d:\softlme\vb6\utilities\agenda\agenda.exe; DestDir: {app}; Flags:  restartreplace sharedfile;  
 
[INI]
 
[Icons]
Name: {group}\Agenda; Filename: {app}\Agenda.exe; WorkingDir: {app}
Name: {group}{cm:UninstallProgram, Agenda}; Filename: {uninstallexe}
 
[Run]
Filename: {tmp}\scr56en.exe; Parameters: /r:n /q:1; MinVersion: 4.1,4.0; OnlyBelowVersion: 0,4.01; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: ScriptingRuntime
Filename: {tmp}\scripten.exe; Parameters: /r:n /q:1; MinVersion: 0,5.0; OnlyBelowVersion: 0,5.02; WorkingDir: {tmp}; Flags: skipifdoesntexist; Tasks: ScriptingRuntime
Filename: {app}\Agenda.exe; Description: {cm:LaunchProgram, Agenda}; Flags: nowait postinstall skipifsilent; WorkingDir: {app}
 
[UninstallDelete]
 
[Registry]
 
[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;
Title: Bad VB6 redis files
Post by: Randem on October 31, 2007, 02:23:10 PM
Use the exclude folder tab to eliminate the folders you do not want searched. Please post your .pjt, vbp and exe file for your project. Please zip them first and I will take a look see.
Title: Bad VB6 redis files
Post by: luigi36 on October 31, 2007, 10:31:05 PM
 
 
Hello
 
Please see the difference beween search paths of the project before and the project after creation of the script.
I suppose that is the problem.
In any way I have workarounded the problem copying the redis vb6 files into redis vb5 files.
I repeat all was find in previous version.
Thanks for your help
Bye
Luigi
 
(Message edited by luigi36 on October 31, 2007)
Title: Bad VB6 redis files
Post by: Randem on November 01, 2007, 07:42:37 PM
Ok, this issue has been fixed in Version 7.3 Build 1. Go to the website at https://randemsystems.com/innoscript// (https://randemsystems.com/innoscript//) to download this release.
 
Thanks for reporting this issue.
Title: Bad VB6 redis files
Post by: luigi36 on November 01, 2007, 10:01:03 PM
Ok  
All runs fine
Thanks for the new release
Luigi