Using Version 11 for Windows 8

Started by davethomson, October 27, 2014, 09:50:32 AM

Previous topic - Next topic

davethomson

Thank you once again.  I am becoming more comfortable using Innoscript 11 and will probably switch over to it on my desktop.

Randem

I only mentioned the NT Version because that is the only one to be concerned with and it is very much different than the Windows Version (which should be set to NONE). There is a complete procedural instruction set in the manual that does go over most of this and what to do if one runs into trouble. Perhaps that can clear some things up.

davethomson

In InnoScript what to I use in "Windows Version", "None" for both min & max?  That is what I have done and seems to work fine.

When uninstalling I still get "Unable to Register: C:/windows/systems 32/stdole2.tlb".  I select "Ignore" and everything seems to work.

As you can tell I am feeling my way through using your Version 11.4 Build 3 Innoscript.  I hope to have a Windows 8 machine soon to see if the installation will work on it ... but am sure it will.

Thanks for you help and sorry I have confused you on my problem.  :D

Randem

I am still confused on what you are meaning. InnoScript and Inno Setup are two different programs and are not interchangeable... you are jumping around and I cannot follow... InnoScript 11 by default will select to install on Windows XP to Windows 8.

In InnoScript open your project; then on the left side go to Versioning then select the NT Version tab to select under Min NT Version "Windows XP / Windows Server 2003" and on the right side select under under Max NT Version "Windows 8 / Windows Server 2012". These are the default selections when you start a project in InnoScript 11.

davethomson

Ok, the installation on my Vista Laptop worked .. almost ... during installation I got a notice something with "stdole2.tlb was wrong.  I could "ignore" which I did and the installation completed and the program runs on my Vista Laptop.

Sorry to bother you will these small things but I need to be able to put my program on a Windows 8 (not sure if the one I buy will be .X or what) in order to run my system on another site.

davethomson

Oh  :-[  it is the line, "MinVersion=4.0,5.01".  I forget how to change this. Just delete it?

davethomson

I tried running InnoSetup and it said,"Min Windows Versions must be 0! (Windows 95/98 no long supported)."

Do I set the NT versions both to Windows 8? or to None? Or maybe to Vista so it would install on my Vista Laptop?

Had the NT set to min of XP.  Maybe that was the problem?  Trying Vista now.

davethomson

So, if I run InnoSetup the Golf Course Calendar.exe will be run when I install the program?  I thought the .exe would be shown just after the last "other" file that was in the Add Files.  This is what was confusing to me, not seeing the .exe where it normally is when I run 10.5 build 9.

Randem

I have no idea of what you mean. There is nothing in your post that states anything about where a search for an exe is...

BTW: InnoScript will look everywhere it can until it finds the exe. Of course it looks in the most logical places first. According to your script the exe was found in the {app} folder...

davethomson

Why is InnoScript looking for the .exe in the program files?  As you can see the .exe was not included in the script.

Sorry about posting the entire script.  I simply forgot that it should be in file.  I will try to remember that if the occasion arises again.

Randem

In the future please attach any scripts or text files instead of posting them, they take up too much room in the thread...

Yes, InnoScript will work on Windows 8 as advertised but you are asking about InnoSetup... I imagine it will work too but you are asking in the wrong forum about that... The other thing is to distinguish ERRORS from WARNINGS . ERRORS are something you basically cannot get past to complete your task unless corrected, WARNINGS are just alerting you of a situation in case you need to know... It does not stop you from completing your task. Not sure what you are asking about the script you posted...

davethomson

I have, in the past, used InnoSetup Script Wizard to make an installation .exe.  Could I do this for a Windows 8 PC?  I know it is not a complete at using InnoScript but perhaps this will do instead.  The Wizard is very simple to use but will it do the job using the .exe created by VB on either my Windows 7 or Vista PCs?  I suppose the only way to be certain is buy a Windows 8 desktop and see.  I do need, for this project, a desktop with an HDMI port as I will be using a HD TV as the monitor.

davethomson

I am trying to make an .iss file for a program that I will have to install on a Windows 8 PC.  Your program InnoScript version 11.4 build 3 is on my Vista laptop.  Three things happened.

1. 2 VB file errors.
2. InnoScript is looking for my golf course calendar.exe in C:/program files/ but the .vbp file location is correct.
3. there is an error: * * * ERROR * * * Invalid Relative Reference in VBP: ..\Windows\SysWOW64\stdole2.tlb - Converts to: C:\Windows\SysWOW64\stdole2.tlb - Path Does Not Exist - Ignoring Path!!!

I normally use Version 10.5 build 9 as this is a very easy version (for me) to work with.  Of course, it doesn't have Windows 8 but up to today I have not needed it.  Now I do in order to install my project on a Windows 8 PC.

The InnoScript output is below. 

; InnoScript Version 11.4  Build 3
; Randem Systems, Inc.
; Copyright (c) 2002 - 2014, Randem Systems, Inc.
; Website:  https://randemsystems.com
; Support:  https://randemsystems.support/
; OS: Windows NT 6.0 build 6002 (Service Pack 2)

; Derived from VB VBP Project File

; Designed for Inno Setup Version: 5.5.5 (a)
; Installed Inno Setup Version: 5.5.5 (a)

; Date: October 27, 2014

; Local Machine Settings. Use these settings as a template for your installation folders

; {app}           : C:\Program Files\Randem Systems\InnoScript
; {appdata}       : C:\Users\Dave Thomson\AppData\Roaming\Randem Systems\InnoScript\
; {localappdata}  : C:\Users\Dave Thomson\AppData\Local\Randem Systems\InnoScript\
; {cf}            : C:\Program Files\Common Files\Randem Systems
; {tmp}           : C:\Users\Dave Thomson\AppData\Local\Temp\
; {commonappdata} : C:\ProgramData\Randem Systems\InnoScript\Release\
; {pf}            : C:\Program Files\

;              VB Runtime Files Folder:   C:\Program Files\Randem Systems\InnoScript\InnoScript 11\VB 6 Redist Files\
;     Visual Basic Project File (.vbp):   C:\Golf Course Calendar Programs\Golf Course Calendar.vbp
; Inno Setup Script Output File (.iss):   C:\Golf Course Calendar Programs\Golf Course Calendar 10.0.0 Release.iss
;:   C:\Golf Course Calendar Programs\Templates\Golf Course Calendar.tpl

; ------------------------
;        References
; ------------------------

; OLE Automation - (stdole2.tlb)


; --------------------------
;        Components
; --------------------------



[Setup]
SetupLogging=Yes
AppId=Golf Course Calendar

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

AppName=Golf Course Calendar 10.0.0
AppVerName=Golf Course Calendar
AppPublisher=Visual Golf Software

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

AppVersion=10.0.0
VersionInfoVersion=10.0.0
AllowNoIcons=yes
DefaultGroupName=Golf Course Calendar
DefaultDirName=c:\Golf Course Calendar
AppCopyright=Copyright 2014
PrivilegesRequired=Admin
MinVersion=4.0,5.01
OnlyBelowVersion=4.9,6.4
Compression=lzma
OutputBaseFilename=Golf Course CalendarRelease

[Tasks]
Name: Desktopicon; Description: {cm:CreateDesktopIcon}; GroupDescription: {cm:AdditionalIcons}

[Files]
Source: C:\Program Files\Randem Systems\InnoScript\InnoScript 11\VB 6 Redist Files\stdole2.tlb; DestDir: {sys}; Flags:  regtypelib restartreplace uninsneveruninstall;
Source: C:\Golf Course Calendar Programs\Golf Course Calendar.exe; DestDir: {app}; Flags:  ignoreversion restartreplace;
Source: C:\Golf Course Calendar Programs\calendar.ico; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\ads.txt; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\America's Home Place.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\Anderson Computer Systems.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\Arbortech ad.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\Mama Penn's.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\notices.txt; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\Roto-Rooter.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\Straight Paths.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\coursename.txt; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\Findlay Roofing.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\lions.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\toyota.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\vgs comparison.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\HJGT Tour.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\your ad here.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\aac.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\bbq.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\arnold's burgers.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\pompous pig ad.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\pendleton tire ad.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\longhorn steak house.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Golf Course Calendar Programs\lake hartwell.jpg; DestDir: {app}; Flags:  ignoreversion;
Source: C:\Program Files\Randem Systems\InnoScript\InnoScript 11\VB 6 Redist Files\MSVBVM60.DLL; DestDir: {sys}; Flags:  regserver restartreplace sharedfile;
Source: C:\Program Files\Randem Systems\InnoScript\InnoScript 11\VB 6 Redist Files\OLEAUT32.dll; DestDir: {sys}; Flags:  restartreplace sharedfile;

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

[Icons]
Name: {group}\GolfCourseCalendar ; Filename : {app}\Golf Course Calendar.exe; WorkingDir: {app}; IconFilename: {app}\calendar.ico;
Name: {group}\{cm:ProgramOnTheWeb, GolfCourseCalendar }; Filename: {app}\Golf Course Calendar.url; IconFilename: {app}\calendar.ico;
Name: {group}\{cm:UninstallProgram, GolfCourseCalendar }; Filename: {uninstallexe};
Name: {commondesktop}\GolfCourseCalendar ; Filename: {app}\Golf Course Calendar.exe; Tasks: Desktopicon ; WorkingDir: {app}; IconFilename: {app}\calendar.ico;

[Run]
Filename: {app}\Golf Course Calendar.exe; Description: {cm:LaunchProgram, GolfCourseCalendar }; Flags: nowait postinstall skipifsilent runascurrentuser; WorkingDir: {app}

[UninstallDelete]
Type: files; Name: {app}\Golf Course Calendar.url
Type: dirifempty; Name: {app}

[Registry]