Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: sparrowhawk7 on May 29, 2013, 08:32:55 AM

Title: Error on compile and registration issue
Post by: sparrowhawk7 on May 29, 2013, 08:32:55 AM
Hello. I just purchased your program and have a couple problems. The first one is that the order screen never asked for my email address but then I was told the registration number would be emailed to me. ???

Secondly and more to the point ... I created my first innoscript. It had some file errors which I straightened out until the program said it had completed with no missing files. (I'm using VB6 support files along with CR XI files). However, when I run inno setup and go to compile the script it gets to the following line and terminates with a required function or procedure GetCLSIDFldr not found.

The error comes from the [run] section but I'll post the entire script ...

Quote
[Setup]
SetupLogging=Yes
DisableStartupPrompt=False
WindowResizable=False
WindowShowCaption=False
WindowStartMaximized=False
AppId=Rental Manager

;------------------------------------------------------------------------------------------------------------------------
; Taken from VBP/VBG Project File Parameters AppName, AppName AppVersion and Company
;------------------------------------------------------------------------------------------------------------------------

AppName=Rental Manager 1.00.00
AppVerName=Rental Manager
AppPublisher=Ken Brown

;------------------------------------------------------------------------------------------------------------------------

AppVersion=1.00.00
VersionInfoVersion=1.00.00
AllowNoIcons=no
DefaultGroupName=Ken Brown\Rentals 
DefaultDirName={pf}\Ken Brown\Rentals 1 
AppCopyright=2013
PrivilegesRequired=Admin
MinVersion=0,5.01
OnlyBelowVersion=0,6.0
Compression=lzma
OutputBaseFilename=setupRelease

[Tasks]
Name: Desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
Name: quicklaunchicon; Description: {cm:CreateQuickLaunchIcon}; GroupDescription: {cm:AdditionalIcons}; Flags: unchecked
Name: CRInstallation; Description: Install Crystal Reports Runtime Files; GroupDescription: Install CR Runtime Files:
Name: DatabaseSupport; Description: Install Database Support; GroupDescription: Install Database Support:

[Files]
Source: G:\Projects\VB6\Rentals\SetupFiles\Support\stdole2.tlb; DestDir: {sys}; Flags:  regtypelib restartreplace uninsneveruninstall; 
Source: G:\Projects\VB6\Rentals\SetupFiles\Support\COMDLG32.OCX; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
Source: G:\Projects\VB6\Rentals\SetupFiles\Support\MSCOMCTL.OCX; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
Source: G:\Projects\VB6\Rentals\SetupFiles\Support\RICHTX32.OCX; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
Source: G:\Projects\VB6\Rentals\SetupFiles\Support\MSFLXGRD.OCX; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
Source: G:\Projects\VB6\Rentals\SetupFiles\Support\MSMASK32.OCX; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
Source: G:\Projects\VB6\Rentals\SetupFiles\Support\MSCOMCT2.OCX; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
Source: G:\Projects\VB6\Rentals\SetupFiles\Support\MSSTDFMT.DLL; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
Source: F:\Programming\Installation Programs\Inno\VB6 Required files\CRXI_5_RDC_Redistribution.msi; DestDir: {tmp}; Flags:  deleteafterinstall ignoreversion nocompression; Tasks: CRInstallation
Source: G:\Projects\VB6\Rentals\SetupFiles\Support\Rentals.exe; DestDir: {app}; Flags:  ignoreversion restartreplace; 
Source: G:\Projects\VB6\Rentals\Graphics\key-icon.ico; DestDir: {app}; Flags:  ignoreversion; 
Source: G:\Projects\VB6\Rentals\SetupFiles\Support\OLEAUT32.dll; DestDir: {sys}; Flags:  restartreplace sharedfile; 
Source: G:\Projects\VB6\Rentals\SetupFiles\Support\MSVBVM60.DLL; DestDir: {sys}; Flags:  regserver restartreplace sharedfile; 
Source: F:\Programming\Installation Programs\Inno\VB6 Required files\API-MS-Win-Core-LocalRegistry-L1-1-0.dll; DestDir: {sys}; Flags:  restartreplace sharedfile; 
Source: F:\Programming\Installation Programs\Inno\VB6 Required files\API-MS-Win-Core-ProcessThreads-L1-1-0.dll; DestDir: {sys}; Flags:  restartreplace sharedfile; 
Source: F:\Programming\Installation Programs\Inno\VB6 Required files\API-MS-Win-Security-Base-L1-1-0.dll; DestDir: {sys}; Flags:  restartreplace sharedfile; 
;
; Download MDAC and JET files from the Download menu of InnoScript or https://randemsystems.com/os-updater-support (https://randemsystems.com/os-updater-support)
;
Source: ..\Scripts\Output\Support\mdac_typ_281.exe; DestDir: {tmp}; Flags: ignoreversion nocompression deleteafterinstall; MinVersion: 4.0,4.0; OnlyBelowVersion: 0,6.0; Tasks: DatabaseSupport
Source: ..\Scripts\Output\Support\mdac_typ_20.exe; DestDir: {tmp}; Flags: ignoreversion nocompression deleteafterinstall; MinVersion: 4.0,4.0; Tasks: DatabaseSupport
Source: ..\Scripts\Output\Support\Jet35sp3.exe; DestDir: {tmp}; Flags: ignoreversion nocompression deleteafterinstall; MinVersion: 4.0,4.0; Tasks: DatabaseSupport
Source: ..\Scripts\Output\Support\Jet40SP8_WXP.exe; DestDir: {tmp}; Flags: ignoreversion nocompression deleteafterinstall; MinVersion: 0,5.01; OnlyBelowVersion: 0,6.0; Tasks: DatabaseSupport
Source: ..\Scripts\Output\Support\JetComp.exe; DestDir: {sys}; Flags: sharedfile nocompression; MinVersion: 4.0,4.0; Tasks: DatabaseSupport
;
; Download MDAC and JET files from the Download menu of InnoScript or https://randemsystems.com/os-updater-support (https://randemsystems.com/os-updater-support)
;
;
; Download MDAC and JET files from the Download menu of InnoScript or https://randemsystems.com/os-updater-support (https://randemsystems.com/os-updater-support)
;
;
; Download MDAC and JET files from the Download menu of InnoScript or https://randemsystems.com/os-updater-support (https://randemsystems.com/os-updater-support)
;

[INI]
Filename: {app}\Rentals.url; Section: InternetShortcut; Key: URL; String: 

[Icons]
Name: {group}\Rentals ; Filename : {app}\Rentals.exe; WorkingDir: {app}; IconFilename: {app}\key-icon.ico;
Name: {group}{cm:ProgramOnTheWeb, Rentals }; Filename: {app}\Rentals.url; IconFilename: {app}\key-icon.ico;
Name: {group}{cm:UninstallProgram, Rentals }; Filename: {uninstallexe};
Name: {commondesktop}\Rentals ; Filename: {app}\Rentals.exe; Tasks: Desktopicon ; WorkingDir: {app}; IconFilename: {app}\key-icon.ico;
Name: {userappdata}\Microsoft\Internet Explorer\Quick Launch\Rentals ; Filename: {app}\Rentals.exe; Tasks: quicklaunchicon ; WorkingDir: {app}; IconFilename: {app}\key-icon.ico;

[Run]
Filename: msiexec.exe; Parameters: /package CRXI_5_RDC_Redistribution.msi /passive /promptrestart /l* {sd}\CRXI_5_RDC_Redistribution.msi.txt; WorkingDir: {tmp}; Flags: skipifdoesntexist runascurrentuser; Tasks: CRInstallation; StatusMsg: Installing Crystal Reports Runtimes;
; Register the Crystal Reports Merge Module components that need to be registered in place where the Merge Modules installed them
Filename: regsvr32.exe; Parameters: /s {code:GetCLSIDFldr|!91FDA5AF-C945-4DDC-8C32-29A790CF16F0@\11.5.10.1263}{code:LogFileName|craxdrt.dll}; WorkingDir: {code:GetCLSIDFldr|!91FDA5AF-C945-4DDC-8C32-29A790CF16F0@\11.5.10.1263}\; StatusMsg: Registering Crystal Reports ActiveX Designer Run Time Library 11.5; Tasks: CRInstallation; Flags: runascurrentuser
Filename: regsvr32.exe; Parameters: /s {code:GetCLSIDFldr|!4FB2D832-C996-4EB1-BE0D-4DE953CF25F0@\11.5.10.1263}{code:LogFileName|craxddrt.dll}; WorkingDir: {code:GetCLSIDFldr|!4FB2D832-C996-4EB1-BE0D-4DE953CF25F0@\11.5.10.1263}\; StatusMsg: Registering Crystal Reports ActiveX Designer Design and Runtime Library 11.5; Tasks: CRInstallation; Flags: runascurrentuser
Filename: {tmp}\mdac_typ_20.exe; Parameters: /Q /C:setup /QNT; WorkingDir: {tmp}; Flags: skipifdoesntexist; MinVersion: 4.0,4.0; Tasks: DatabaseSupport
Filename: {tmp}\mdac_typ_281.exe; Parameters: /Q /C:setup /QNT; WorkingDir: {tmp}; Flags: skipifdoesntexist; MinVersion: 4.0,4.0; OnlyBelowVersion: 0,5.1; Tasks: DatabaseSupport
Filename: {tmp}\Jet35sp3.exe; Parameters: /Q; WorkingDir: {tmp}; Flags: skipifdoesntexist; MinVersion: 4.0,4.0; Tasks: DatabaseSupport;
Filename: {tmp}\Jet40SP8_WXP.exe; Parameters: /Q; WorkingDir: {tmp}; Flags: skipifdoesntexist; MinVersion: 0,5.01; OnlyBelowVersion: 0,6.0; Tasks: DatabaseSupport
Filename: {app}\Rentals.exe; Description: {cm:LaunchProgram, Rentals }; Flags: nowait postinstall skipifsilent runascurrentuser; WorkingDir: {app}

[UninstallDelete]
Type: files; Name: {app}\Rentals.url
Type: dirifempty; Name: {app}



[InstallDelete]
Type: files; Name: {app}\Install.log;
Title: Error on compile and registration issue
Post by: sparrowhawk7 on May 29, 2013, 08:35:51 AM
I guess there is no way to preview a post ... clicking preview actually posts it.
 
I tried searching this forum to see if I could find someone else having this problem but wasn't successful.
 
Thanks for the help.
Title: Error on compile and registration issue
Post by: Randem on May 29, 2013, 09:07:59 AM
Aloha sparrowhawk7,
 
Yes, there is a place for the email on the order form, we have now made it mandatory. No worries we have your email from your login from the support board and your registration has been sent there.
 
As far as the preview of the post, yes. When you select Post/Preview, what you actually see is the preview not the actual post. it does not become the post until you select post again.
 
As far as the missing function. Yes that is only available in the PAID version. the trial version does not put the [Code] Section in. Once you register InnoScript and re-run the script generation the [Code] Section will appear and will have the missing routine.
Title: Error on compile and registration issue
Post by: sparrowhawk7 on May 29, 2013, 09:17:08 AM
Thank you .. yep .. worked fine after registering. Thank you!