OS updater, search folders

Started by Randem, May 17, 2012, 07:02:06 AM

Previous topic - Next topic

Randem

Ok, Good that is solved. Yes, going from 10.x to 11 was a bit of a change to operations.

dtleahy2

I tried closing down InnoScript, and reopening it. That removed the word Trial (I just re-purchased from you - I wasn't sure if the last version I had purchased was 10.0 or 10.5, and didn't want to wait...)  
 
So now, the 3 files got the correct paths, and the problem with the OSAutoUpdater seems resolved as well. The .iss file worked in INNO SETUP, and I got a working installation.
 
:~)
 
I'm going to assume that the jump from InnoScript ver 10.x to 11.x, originally also taking me from a registered status to Trial status, then back to registered once I closed and re-opened the app, was where the problems were coming from.
 
Seems like I use InnoScript about once a year, and have to re-learn some of the way it works.
 
Thanks,
 
Dennis

Randem

You still have the Auto OS template in there, you should remove it. Zip and post your InnoScript project file (.pjt) and I will take a look at what you have there.

dtleahy2

I did not remove the [CODE] section.
 
Here's my latest try. I moved copies of the 3 files that InnoScript is having difficulty with the path right into the application folder. Note that all 3 files still do not have a correct Source path, in the latest try:
 
===the latest script===========
; InnoScript Version 11.1  Build 17  Trial
; Randem Systems, Inc.
; Copyright (c) 2002 - 2011, Randem Systems, Inc.
; Website:  https://randemsystems.com
; Support:  https://randemsystems.support
; OS: Windows XP 5.1 build 2600 (Service Pack 3)
 
; Derived from VB VBP Project File
 
; Designed for Inno Setup Version: 5.4.1 (a)
; Installed Inno Setup Version: 5.4.1 (a)
 
; Date: May 17, 2012
 
; Local Machine Settings. Use these settings as a template for your installation folders
 
; {app}           : C:\Program Files\Randem Systems\InnoScript
; {appdata}       : C:\Documents and Settings\Dennis Leahy\Application Data\Randem Systems\InnoScript\
; {localappdata}  : C:\Documents and Settings\Dennis Leahy\Local Settings\Application Data\Randem Systems\InnoScript\
; {cf}            : C:\Program Files\Common Files\Randem Systems
; {tmp}           : C:\Documents and Settings\Dennis Leahy\Local Settings\Temp\
; {commonappdata} : C:\Documents and Settings\All Users\Application Data\Randem Systems\InnoScript\Release\
; {pf}            : C:\Program Files\
 
;              VB Runtime Files Folder:   C:\Program Files\Randem Systems\InnoScript\InnoScript10.5.05\VB 6 Redist Files\
;     Visual Basic Project File (.vbp):   C:\PlanOfSalvation\VB Project\PlanOfSalvation2010.vbp
; Inno Setup Script Output File (.iss):   C:\PlanOfSalvation\VB Project\Scripts\PlanOfSalvation2010 2.1.5 Release.iss
;:   C:\Documents and Settings\Dennis Leahy\Local Settings\Application Data\Randem Systems\InnoScript\Release\Projects\Templates\POS4Jamie.tpl
;:   C:\Documents and Settings\Dennis Leahy\Local Settings\Application Data\Randem Systems\InnoScript\Release\Templates\AutoOSUpdater.tpl
 
; ------------------------
;        References
; ------------------------
 
; Microsoft ActiveX Data Objects 2.7 Library - (msado27.tlb)
; OLE Automation - (stdole2.tlb)
; VB OpenGL API 1.2 (ANSI) - (vbogl.tlb)
; Microsoft Data Binding Collection - (MSBIND.DLL)
 
 
; --------------------------
;        Components
; --------------------------
 
; 3D Active Button Magic Control - (3dabm9u.ocx)
; Microsoft Windows Common Controls 6.0 (SP6) - (MSCOMCTL.OCX)
; CCRP FolderTreeview Control (VB6) - (ccrpftv6.ocx)
; Microsoft Windows Common Controls 5.0 (SP2) - (comctl32.ocx)
; Microsoft FlexGrid Control 6.0 (SP3) - (Msflxgrd.ocx)
; Microsoft Common Dialog Control 6.0 (SP6) - (Comdlg32.ocx)
 
 
[Setup]
SetupLogging=Yes
AppId=PlanOfSalvationBuilding
 
;------------------------------------------------------------------------------------------------------------------------
; Taken from VBP/VBG Project File Parameters AppName, AppName AppVersion and Company
;------------------------------------------------------------------------------------------------------------------------
 
AppName=PlanOfSalvationBuilding 2.1.5
AppVerName=PlanOfSalvationBuilding
AppPublisher=7th Sense Multimedia
 
;------------------------------------------------------------------------------------------------------------------------
 
AppVersion=2.1.5
VersionInfoVersion=2.1.5
AllowNoIcons=yes
DefaultGroupName=7th Sense Multimedia\Plan Of Salvation  
DefaultDirName={pf}\PlanOfSalvation 2  
PrivilegesRequired=None
MinVersion=0,5.01
OnlyBelowVersion=0,6.0
Compression=none
OutputBaseFilename=POS0201005Release
 
[Tasks]
Name: Desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
Name: AutoOSUpdater; Description: Install Database Support Updater; GroupDescription: Database Support:
 
[Files]
Source: C:\PlanOfSalvation\VB Project\VB_VC_DCOM_MDAC_JET_AutoSetup.exe; DestDir: {tmp}; Flags:  deleteafterinstall ignoreversion nocompression; AfterInstall: InstallAutoOSUpdater('{tmp}\VB_VC_DCOM_MDAC_JET_AutoSetup.exe','/NORESTART /VERYSILENT'); Tasks: AutoOSUpdater;
Source: C:\PlanOfSalvation\VB Project\vbogl.tlb; DestDir: {sys}; Flags:  regtypelib restartreplace uninsneveruninstall;  
Source: 3dabm9u.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\CoolBreeze2002\Package\Support\MSCOMCTL.OCX; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\VB stuff\CCRP\CCRP\Foldertreeview\ccrpftv6.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: comctl32.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: Msflxgrd.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\CoolBreeze2002\Package\Support\MSBIND.DLL; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\CoolBreeze2002\Package\Support\Comdlg32.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\PlanOfSalvation\VB Project\POS.exe; DestDir: {app}; Flags:  ignoreversion restartreplace;  
Source: C:\Program Files\DesignCAD 3000\GLU32.DLL; DestDir: {sys}; Flags:  restartreplace sharedfile;  
Source: C:\Program Files\DesignCAD 3000\OPENGL32.DLL; DestDir: {sys}; Flags:  restartreplace sharedfile;  
 
[INI]
Filename: {app}\POS.url; Section: InternetShortcut; Key: URL; String:  
 
[Icons]
Name: {group}\PlanOfSalvation ; Filename : {app}\POS.exe; WorkingDir: {app};
Name: {group}{cm:ProgramOnTheWeb, PlanOfSalvation }; Filename: {app}\POS.url;
Name: {group}{cm:UninstallProgram, PlanOfSalvation }; Filename: {uninstallexe};
Name: {commondesktop}\PlanOfSalvation ; Filename: {app}\POS.exe; Tasks: Desktopicon ; WorkingDir: {app};
 
[Run]
Filename: {app}\POS.exe; Description: {cm:LaunchProgram, PlanOfSalvation }; Flags: nowait postinstall skipifsilent runascurrentuser; WorkingDir: {app}
 
[UninstallDelete]
Type: files; Name: {app}\POS.url
Type: dirifempty; Name: {app}
 
 
[Code]
//=============================================================
// Install the Automatic OS Updater
//=============================================================
 
Procedure InstallAutoOSUpdater(Filename: String; Param: String);
var
  ErrorCode: Integer;
  begin
     ShellExec('', ExpandConstant(Filename), ExpandConstant(Param), '', SW_SHOW, ewWaitUntilTerminated, ErrorCode);
  end;

Randem

Also and you should not be using the AutoOSUpdater Template. You should be selecting the OS Updater from the Versioning->Other Tab->Automatic OS Updaters then select the one you want to use from the dropdown menu.

Randem

Actually there is a [Code] section missing from your script and that is the problem. Did you remove it?

dtleahy2

[color=0000ff]Aloha dtleahy2,
 
If you add a folder to the search folder and it is removed the path is most likely in the EXCLUDE FOLDERS tab or in a system folder. Either you need to move the file from the system folder or remove the path from the exclude folders tab.
 
To get the AutoOSUpdater to be referenced you need to select it in the Options screen and then download it and place it into a location that is referenced in the search folders tab.
 
Your application will automatically be installed in the 32bit area on a 64bit system and there is nothing else to do.[/color]
 
========================
 
I checked, and the folders I added were not in the EXCLUDE section or in SYSTEM folders.
 
InnoScript continues to ignore the search path to find the redistributable version of the files (and the .iss file needs to be hand edited.
 
The file VB_VC_DCOM_MDAC_JET_AutoSetup.exe is located in the folder as referenced
 
C:\Downloads\Randem\VB_VC_DCOM_MDAC_JET_AutoSetup.exe
 
but notice that the error in INNO SETUP is not that this file was not found, the error seems to be the way the command line is written. The error refers to the verbiage used after the Afterinstall switch or directive:
 
Source: C:\Downloads\Randem\VB_VC_DCOM_MDAC_JET_AutoSetup.exe; DestDir: {tmp}; Flags: deleteafterinstall ignoreversion nocompression; AfterInstall: InstallAutoOSUpdater('{tmp}\VB_VC_DCOM_MDAC_JET_AutoSetup.exe','/NORESTART /VERYSILENT'); Tasks: AutoOSUpdater;
 
(Message edited by dtleahy2 on May 17, 2012)

Randem

Note: comctrl32.dll IS listed as an Unsafe file, but not comctrl32.OCX  
 
It depends on what you want to do. The prescribed way is to copy the missing files to another non-system folder then tell InnoScript where they are. You do this unless you are deploying a MS installation that deploys the files or the files should never be deployed because they are part of the OS. In the latter case you would add the file to the unsafe list and InnoScript will remove it from the script.

Randem

Aloha dtleahy2,
 
If you add a folder to the search folder and it is removed the path is most likely in the EXCLUDE FOLDERS tab or in a system folder. Either you need to move the file from the system folder or remove the path from the exclude folders tab.
 
To get the AutoOSUpdater to be referenced you need to select it in the Options screen and then download it and place it into a location that is referenced in the search folders tab.
 
Your application will automatically be installed in the 32bit area on a 64bit system and there is nothing else to do.

dtleahy2

When I go through the .iss file, and hand-correct the path to the 3 files that have incorrect paths in InnoScript, I have a script that INNO SETUP can try to run.
 
Unfortunately, INNO SETUP gets stuck on the Auto OS Updater, with the following error:
Compile Error
Line 83:
Required function or procedure 'installAutoOSUpdater' not found
 
==========================
Here is the hand-corrected .iss file that I am using, and the EXE file VB_VC_DCOM_MDAC_JET_AutoSetup.exe is located where the path points.
 
==========================
; InnoScript Version 11.1  Build 17  Trial
; Randem Systems, Inc.
; Copyright (c) 2002 - 2011, Randem Systems, Inc.
; Website:  https://randemsystems.com
; Support:  https://randemsystems.support
; OS: Windows XP 5.1 build 2600 (Service Pack 3)
 
; Derived from VB VBP Project File
 
; Designed for Inno Setup Version: 5.4.1 (a)
; Installed Inno Setup Version: 5.4.1 (a)
 
; Date: May 17, 2012
 
; Local Machine Settings. Use these settings as a template for your installation folders
 
; {app}           : C:\Program Files\Randem Systems\InnoScript
; {appdata}       : C:\Documents and Settings\Dennis Leahy\Application Data\Randem Systems\InnoScript\
; {localappdata}  : C:\Documents and Settings\Dennis Leahy\Local Settings\Application Data\Randem Systems\InnoScript\
; {cf}            : C:\Program Files\Common Files\Randem Systems
; {tmp}           : C:\Documents and Settings\Dennis Leahy\Local Settings\Temp\
; {commonappdata} : C:\Documents and Settings\All Users\Application Data\Randem Systems\InnoScript\Release\
; {pf}            : C:\Program Files\
 
;              VB Runtime Files Folder:   C:\Program Files\Randem Systems\InnoScript\InnoScript10.5.05\VB 6 Redist Files\
;     Visual Basic Project File (.vbp):   C:\PlanOfSalvation\VB Project\PlanOfSalvation2010.vbp
; Inno Setup Script Output File (.iss):   C:\PlanOfSalvation\VB Project\Scripts\PlanOfSalvation2010 2.1.5 Release.iss
;:   C:\Documents and Settings\Dennis Leahy\Local Settings\Application Data\Randem Systems\InnoScript\Release\Projects\Templates\POS4Jamie.tpl
;:   C:\Documents and Settings\Dennis Leahy\Local Settings\Application Data\Randem Systems\InnoScript\Release\Templates\AutoOSUpdater.tpl
 
; ------------------------
;        References
; ------------------------
 
; Microsoft ActiveX Data Objects 2.7 Library - (msado27.tlb)
; OLE Automation - (stdole2.tlb)
; VB OpenGL API 1.2 (ANSI) - (vbogl.tlb)
; Microsoft Data Binding Collection - (MSBIND.DLL)
 
 
; --------------------------
;        Components
; --------------------------
 
; 3D Active Button Magic Control - (3dabm9u.ocx)
; Microsoft Windows Common Controls 6.0 (SP6) - (MSCOMCTL.OCX)
; CCRP FolderTreeview Control (VB6) - (ccrpftv6.ocx)
; Microsoft Windows Common Controls 5.0 (SP2) - (comctl32.ocx)
; Microsoft FlexGrid Control 6.0 (SP3) - (Msflxgrd.ocx)
; Microsoft Common Dialog Control 6.0 (SP6) - (Comdlg32.ocx)
 
 
[Setup]
SetupLogging=Yes
AppId=PlanOfSalvationBuilding
 
;------------------------------------------------------------------------------------------------------------------------
; Taken from VBP/VBG Project File Parameters AppName, AppName AppVersion and Company
;------------------------------------------------------------------------------------------------------------------------
 
AppName=PlanOfSalvationBuilding 2.1.5
AppVerName=PlanOfSalvationBuilding
AppPublisher=7th Sense Multimedia
 
;------------------------------------------------------------------------------------------------------------------------
 
AppVersion=2.1.5
VersionInfoVersion=2.1.5
AllowNoIcons=yes
DefaultGroupName=7th Sense Multimedia\Plan Of Salvation  
DefaultDirName={pf}\PlanOfSalvation 2  
PrivilegesRequired=None
MinVersion=0,5.01
OnlyBelowVersion=0,6.0
Compression=none
OutputBaseFilename=POS0201005Release
 
[Tasks]
Name: Desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
Name: AutoOSUpdater; Description: Install Database Support Updater; GroupDescription: Database Support:
 
[Files]
Source: C:\Downloads\Randem\VB_VC_DCOM_MDAC_JET_AutoSetup.exe; DestDir: {tmp}; Flags:  deleteafterinstall ignoreversion nocompression; AfterInstall: InstallAutoOSUpdater('{tmp}\VB_VC_DCOM_MDAC_JET_AutoSetup.exe','/NORESTART /VERYSILENT'); Tasks: AutoOSUpdater;
Source: C:\PlanOfSalvation\VB Project\vbogl.tlb; DestDir: {sys}; Flags:  regtypelib restartreplace uninsneveruninstall;  
Source: C:\PlanOfSalvation\VB Project\Redist\3dabm9u.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\CoolBreeze2002\Package\Support\MSCOMCTL.OCX; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\VB stuff\CCRP\CCRP\Foldertreeview\ccrpftv6.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\PlanOfSalvation\VB Project\Redist\comctl32.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\PlanOfSalvation\VB Project\Redist\Msflxgrd.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\CoolBreeze2002\Package\Support\MSBIND.DLL; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\CoolBreeze2002\Package\Support\Comdlg32.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\PlanOfSalvation\VB Project\POS.exe; DestDir: {app}; Flags:  ignoreversion restartreplace;  
Source: C:\Program Files\DesignCAD 3000\GLU32.DLL; DestDir: {sys}; Flags:  restartreplace sharedfile;  
Source: C:\Program Files\DesignCAD 3000\OPENGL32.DLL; DestDir: {sys}; Flags:  restartreplace sharedfile;  
 
[INI]
Filename: {app}\POS.url; Section: InternetShortcut; Key: URL; String:  
 
[Icons]
Name: {group}\PlanOfSalvation ; Filename : {app}\POS.exe; WorkingDir: {app};
Name: {group}{cm:ProgramOnTheWeb, PlanOfSalvation }; Filename: {app}\POS.url;
Name: {group}{cm:UninstallProgram, PlanOfSalvation }; Filename: {uninstallexe};
Name: {commondesktop}\PlanOfSalvation ; Filename: {app}\POS.exe; Tasks: Desktopicon ; WorkingDir: {app};
 
[Run]
Filename: {app}\POS.exe; Description: {cm:LaunchProgram, PlanOfSalvation }; Flags: nowait postinstall skipifsilent runascurrentuser; WorkingDir: {app}
 
[UninstallDelete]
Type: files; Name: {app}\POS.url
Type: dirifempty; Name: {app}

dtleahy2

If I keep adding folders to the search, it seems to finally figure out to keep the folders I added.
 
So, the latest script has no files that are not found, but still gets the path wrong:
 
===============================
; InnoScript Version 11.1  Build 17  Trial
; Randem Systems, Inc.
; Copyright (c) 2002 - 2011, Randem Systems, Inc.
; Website:  https://randemsystems.com
; Support:  https://randemsystems.support
; OS: Windows XP 5.1 build 2600 (Service Pack 3)
 
; Derived from VB VBP Project File
 
; Designed for Inno Setup Version: 5.4.1 (a)
; Installed Inno Setup Version: 5.4.1 (a)
 
; Date: May 17, 2012
 
; Local Machine Settings. Use these settings as a template for your installation folders
 
; {app}           : C:\Program Files\Randem Systems\InnoScript
; {appdata}       : C:\Documents and Settings\Dennis Leahy\Application Data\Randem Systems\InnoScript\
; {localappdata}  : C:\Documents and Settings\Dennis Leahy\Local Settings\Application Data\Randem Systems\InnoScript\
; {cf}            : C:\Program Files\Common Files\Randem Systems
; {tmp}           : C:\Documents and Settings\Dennis Leahy\Local Settings\Temp\
; {commonappdata} : C:\Documents and Settings\All Users\Application Data\Randem Systems\InnoScript\Release\
; {pf}            : C:\Program Files\
 
;              VB Runtime Files Folder:   C:\Program Files\Randem Systems\InnoScript\InnoScript10.5.05\VB 6 Redist Files\
;     Visual Basic Project File (.vbp):   C:\PlanOfSalvation\VB Project\PlanOfSalvation2010.vbp
; Inno Setup Script Output File (.iss):   C:\PlanOfSalvation\VB Project\Scripts\PlanOfSalvation2010 2.1.5 Release.iss
;:   C:\Documents and Settings\Dennis Leahy\Local Settings\Application Data\Randem Systems\InnoScript\Release\Projects\Templates\POS4Jamie.tpl
;:   C:\Documents and Settings\Dennis Leahy\Local Settings\Application Data\Randem Systems\InnoScript\Release\Templates\AutoOSUpdater.tpl
 
; ------------------------
;        References
; ------------------------
 
; Microsoft ActiveX Data Objects 2.7 Library - (msado27.tlb)
; OLE Automation - (stdole2.tlb)
; VB OpenGL API 1.2 (ANSI) - (vbogl.tlb)
; Microsoft Data Binding Collection - (MSBIND.DLL)
 
 
; --------------------------
;        Components
; --------------------------
 
; 3D Active Button Magic Control - (3dabm9u.ocx)
; Microsoft Windows Common Controls 6.0 (SP6) - (MSCOMCTL.OCX)
; CCRP FolderTreeview Control (VB6) - (ccrpftv6.ocx)
; Microsoft Windows Common Controls 5.0 (SP2) - (comctl32.ocx)
; Microsoft FlexGrid Control 6.0 (SP3) - (Msflxgrd.ocx)
; Microsoft Common Dialog Control 6.0 (SP6) - (Comdlg32.ocx)
 
 
[Setup]
SetupLogging=Yes
AppId=PlanOfSalvationBuilding
 
;------------------------------------------------------------------------------------------------------------------------
; Taken from VBP/VBG Project File Parameters AppName, AppName AppVersion and Company
;------------------------------------------------------------------------------------------------------------------------
 
AppName=PlanOfSalvationBuilding 2.1.5
AppVerName=PlanOfSalvationBuilding
AppPublisher=7th Sense Multimedia
 
;------------------------------------------------------------------------------------------------------------------------
 
AppVersion=2.1.5
VersionInfoVersion=2.1.5
AllowNoIcons=yes
DefaultGroupName=7th Sense Multimedia\Plan Of Salvation  
DefaultDirName={pf}\PlanOfSalvation 2  
PrivilegesRequired=None
MinVersion=0,5.01
OnlyBelowVersion=0,6.0
Compression=none
OutputBaseFilename=POS0201005Release
 
[Tasks]
Name: Desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
Name: AutoOSUpdater; Description: Install Database Support Updater; GroupDescription: Database Support:
 
[Files]
Source: C:\Downloads\Randem\VB_VC_DCOM_MDAC_JET_AutoSetup.exe; DestDir: {tmp}; Flags:  deleteafterinstall ignoreversion nocompression; AfterInstall: InstallAutoOSUpdater('{tmp}\VB_VC_DCOM_MDAC_JET_AutoSetup.exe','/NORESTART /VERYSILENT'); Tasks: AutoOSUpdater;
Source: C:\PlanOfSalvation\VB Project\vbogl.tlb; DestDir: {sys}; Flags:  regtypelib restartreplace uninsneveruninstall;  
Source: 3dabm9u.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\CoolBreeze2002\Package\Support\MSCOMCTL.OCX; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\VB stuff\CCRP\CCRP\Foldertreeview\ccrpftv6.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: comctl32.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: Msflxgrd.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\CoolBreeze2002\Package\Support\MSBIND.DLL; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\CoolBreeze2002\Package\Support\Comdlg32.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\PlanOfSalvation\VB Project\POS.exe; DestDir: {app}; Flags:  ignoreversion restartreplace;  
Source: C:\Program Files\DesignCAD 3000\GLU32.DLL; DestDir: {sys}; Flags:  restartreplace sharedfile;  
Source: C:\Program Files\DesignCAD 3000\OPENGL32.DLL; DestDir: {sys}; Flags:  restartreplace sharedfile;  
 
[INI]
Filename: {app}\POS.url; Section: InternetShortcut; Key: URL; String:  
 
[Icons]
Name: {group}\PlanOfSalvation ; Filename : {app}\POS.exe; WorkingDir: {app};
Name: {group}{cm:ProgramOnTheWeb, PlanOfSalvation }; Filename: {app}\POS.url;
Name: {group}{cm:UninstallProgram, PlanOfSalvation }; Filename: {uninstallexe};
Name: {commondesktop}\PlanOfSalvation ; Filename: {app}\POS.exe; Tasks: Desktopicon ; WorkingDir: {app};
 
[Run]
Filename: {app}\POS.exe; Description: {cm:LaunchProgram, PlanOfSalvation }; Flags: nowait postinstall skipifsilent runascurrentuser; WorkingDir: {app}
 
[UninstallDelete]
Type: files; Name: {app}\POS.url
Type: dirifempty; Name: {app}

dtleahy2

Here is the current script:
=============================
; InnoScript Version 11.1  Build 17  Trial
; Randem Systems, Inc.
; Copyright (c) 2002 - 2011, Randem Systems, Inc.
; Website:  https://randemsystems.com
; Support:  https://randemsystems.support
; OS: Windows XP 5.1 build 2600 (Service Pack 3)
 
; Derived from VB VBP Project File
 
; Designed for Inno Setup Version: 5.4.1 (a)
; Installed Inno Setup Version: 5.4.1 (a)
 
; Date: May 17, 2012
 
; Local Machine Settings. Use these settings as a template for your installation folders
 
; {app}           : C:\Program Files\Randem Systems\InnoScript
; {appdata}       : C:\Documents and Settings\Dennis Leahy\Application Data\Randem Systems\InnoScript\
; {localappdata}  : C:\Documents and Settings\Dennis Leahy\Local Settings\Application Data\Randem Systems\InnoScript\
; {cf}            : C:\Program Files\Common Files\Randem Systems
; {tmp}           : C:\Documents and Settings\Dennis Leahy\Local Settings\Temp\
; {commonappdata} : C:\Documents and Settings\All Users\Application Data\Randem Systems\InnoScript\Release\
; {pf}            : C:\Program Files\
 
;              VB Runtime Files Folder:   C:\Program Files\Randem Systems\InnoScript\InnoScript10.5.05\VB 6 Redist Files\
;     Visual Basic Project File (.vbp):   C:\PlanOfSalvation\VB Project\PlanOfSalvation2010.vbp
; Inno Setup Script Output File (.iss):   C:\PlanOfSalvation\VB Project\Scripts\PlanOfSalvation2010 2.1.5 Release.iss
;:   C:\Documents and Settings\Dennis Leahy\Local Settings\Application Data\Randem Systems\InnoScript\Release\Projects\Templates\POS4Jamie.tpl
;:   C:\Documents and Settings\Dennis Leahy\Local Settings\Application Data\Randem Systems\InnoScript\Release\Templates\AutoOSUpdater.tpl
 
; ------------------------
;        References
; ------------------------
 
; Microsoft ActiveX Data Objects 2.7 Library - (msado27.tlb)
; OLE Automation - (stdole2.tlb)
; VB OpenGL API 1.2 (ANSI) - (vbogl.tlb)
; Microsoft Data Binding Collection - (MSBIND.DLL)
 
 
; --------------------------
;        Components
; --------------------------
 
; 3D Active Button Magic Control - (3dabm9u.ocx)
; Microsoft Windows Common Controls 6.0 (SP6) - (MSCOMCTL.OCX)
; CCRP FolderTreeview Control (VB6) - (ccrpftv6.ocx)
; Microsoft Windows Common Controls 5.0 (SP2) - (comctl32.ocx)
; Microsoft FlexGrid Control 6.0 (SP3) - (Msflxgrd.ocx)
; Microsoft Common Dialog Control 6.0 (SP6) - (Comdlg32.ocx)
 
 
[Setup]
SetupLogging=Yes
AppId=PlanOfSalvationBuilding
 
;------------------------------------------------------------------------------------------------------------------------
; Taken from VBP/VBG Project File Parameters AppName, AppName AppVersion and Company
;------------------------------------------------------------------------------------------------------------------------
 
AppName=PlanOfSalvationBuilding 2.1.5
AppVerName=PlanOfSalvationBuilding
AppPublisher=7th Sense Multimedia
 
;------------------------------------------------------------------------------------------------------------------------
 
AppVersion=2.1.5
VersionInfoVersion=2.1.5
AllowNoIcons=yes
DefaultGroupName=7th Sense Multimedia\Plan Of Salvation  
DefaultDirName={pf}\PlanOfSalvation 2  
PrivilegesRequired=None
MinVersion=0,5.01
OnlyBelowVersion=0,6.0
Compression=none
OutputBaseFilename=POS0201005Release
 
[Tasks]
Name: Desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}
Name: AutoOSUpdater; Description: Install Database Support Updater; GroupDescription: Database Support:
 
[Files]
Source: VB_VC_DCOM_MDAC_JET_AutoSetup.exe; DestDir: {tmp}; Flags:  deleteafterinstall ignoreversion nocompression; AfterInstall: InstallAutoOSUpdater('{tmp}\VB_VC_DCOM_MDAC_JET_AutoSetup.exe','/NORESTART /VERYSILENT'); Tasks: AutoOSUpdater;
Source: C:\PlanOfSalvation\VB Project\vbogl.tlb; DestDir: {sys}; Flags:  regtypelib restartreplace uninsneveruninstall;  
Source: 3dabm9u.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\CoolBreeze2002\Package\Support\MSCOMCTL.OCX; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\VB stuff\CCRP\CCRP\Foldertreeview\ccrpftv6.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: comctl32.ocx; DestDir: {sys}; Flags:  restartreplace sharedfile;  
Source: Msflxgrd.ocx; DestDir: {sys}; Flags:  restartreplace sharedfile;  
Source: C:\CoolBreeze2002\Package\Support\MSBIND.DLL; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\CoolBreeze2002\Package\Support\Comdlg32.ocx; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;  
Source: C:\PlanOfSalvation\VB Project\POS.exe; DestDir: {app}; Flags:  ignoreversion restartreplace;  
Source: C:\Program Files\DesignCAD 3000\GLU32.DLL; DestDir: {sys}; Flags:  restartreplace sharedfile;  
Source: C:\Program Files\DesignCAD 3000\OPENGL32.DLL; DestDir: {sys}; Flags:  restartreplace sharedfile;  
 
[INI]
Filename: {app}\POS.url; Section: InternetShortcut; Key: URL; String:  
 
[Icons]
Name: {group}\PlanOfSalvation ; Filename : {app}\POS.exe; WorkingDir: {app};
Name: {group}{cm:ProgramOnTheWeb, PlanOfSalvation }; Filename: {app}\POS.url;
Name: {group}{cm:UninstallProgram, PlanOfSalvation }; Filename: {uninstallexe};
Name: {commondesktop}\PlanOfSalvation ; Filename: {app}\POS.exe; Tasks: Desktopicon ; WorkingDir: {app};
 
[Run]
Filename: {app}\POS.exe; Description: {cm:LaunchProgram, PlanOfSalvation }; Flags: nowait postinstall skipifsilent runascurrentuser; WorkingDir: {app}
 
[UninstallDelete]
Type: files; Name: {app}\POS.url
Type: dirifempty; Name: {app}

dtleahy2

Issue 1.) Search path:
One file my install needs to include is an OCX file, and it seems I cannot get InnoScript to find that file using search folders. I have tried setting search folders, but notice that once I set the folders and hit the button to Create Script, the search folders I added are not there.
 
In a comment to this post, I will include the current script. Note that 3DABM9U.OCX has no path (even though I supplied a search folder with the redistributable file.)
 
Question: Why doesn't InnoScript use the folders I supply, and why does it pick up other folders that I specifically delete?
 
Issue 2: Files not found, (red):
InnoScript displays (in red) 2 files that it cannot find. Neither of these files is found on the Unsafe Files list, created by InnoScript. Those 2 files are:
 
comctl32.ocx
Msflxgrd.ocx
 
and are only found in my computer in the folder C:WINNTSystem32  
 
(Evidently in the past uses of InnoScript for this application, I must have simply deleted these lines from the .iss file, because I never moved copies of them to any redist folder.)
 
 
Note: comctrl32.dll IS listed as an Unsafe file, but not comctrl32.OCX
 
Question: Do I delete them from the .iss file, or move copies to a redist folder and try to get InnoScript to use the Search Folders that I add?
 
Issue 3.)
I have downloaded the OS updater, the BIG one (because I need Win 7 support.) So, I can't remember, how do I get InnoScript to find the updater files? I tried adding a search folder that points to the EXE file I downloaded.) Is shows up in (red) as not found.
 
Question 1: What do I need to do to get the OS updater to be properly referenced in the .iss file?
 
Question 2: If a customer has a Win 7 64 bit machine, do I need to do something different, and, do they have to run in 32 bit mode to run a VB6 application?