[jawsscripts] Re: Issues when scripting for 64-bit Windows versions

  • From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Thu, 19 Nov 2009 15:28:21 +1100

oh, ok Sorry Don, didn't realize anything about the Inno component of this
deal eh.


----- Original Message ----- 
From: "Donald Marang" <donald.marang@xxxxxxxxx>
To: <jawsscripts@xxxxxxxxxxxxx>
Sent: Thursday, November 19, 2009 5:02 AM
Subject: [jawsscripts] Re: Issues when scripting for 64-bit Windows versions


> Sorry for any confusion.  This was a reply to one of Doug's previous
> messages where he solved an issue of installing JAWS scripts on a 64 bit
> Windows using the Inno installer.  This is the installer Jamal's JAWS
Script
> Exchange (JSX) uses.  I thought about adding Jamal's name to the
salutation
> as well to get his attention.  Perhaps a salutation in general is a bad
> idea.  I started doing it to force myself to keep names straight, since I
> have always been bad associating names.  But I do not have to write this
> down to get that extra thought process I normally bypass.  I was not clear
> if Doug's fix was applicable directly to the Scripts.ISS file I modify for
> JSX, but thought it might since BX uses JSX.  However, as I remember, the
> Skype scripts installer has it's own interface, I assume using Inno Setup
as
> well.  Not sure about that, I am new to the Skype world.
>
> Don Marang
>
> ----- Original Message ----- 
> From: "Geoff Chapman" <gch@xxxxxxxxxxxxxxxx>
> To: <jawsscripts@xxxxxxxxxxxxx>
> Sent: Wednesday, November 18, 2009 2:33 AM
> Subject: [jawsscripts] Re: Issues when scripting for 64-bit Windows
versions
>
>
> > Hi Don. I wasn't sure, but from your message below it kinda sounded like
> > you
> > may've been under the impression that Doug was the author of the jsx
> > package?
> > whereas my understanding was that was a Jamal creation.
> >
> > Is this correct people?
> >
> > Victor tsarens might also know something about this, since I think He's
at
> > present working on an install for HotSpotClicker for us that will run on
a
> > 64 bit system.
> >
> > comments Victor?
> >
> >
> > ----- Original Message ----- 
> > From: "Donald Marang" <donald.marang@xxxxxxxxx>
> > To: <jawsscripts@xxxxxxxxxxxxx>
> > Sent: Wednesday, November 18, 2009 7:16 AM
> > Subject: [jawsscripts] Re: Issues when scripting for 64-bit Windows
> > versions
> >
> >
> >> Hi Doug,
> >>
> >> I have several scripts which I use JSX to package for distribution.  I
> >> currently do not have access to a 64 bit computer, but I wanted to
create
> > my
> >> JSX packages so they would work on 64 bit systems as well.  I added the
> >> following line you previously suggested toward the bottom of the
[Setup]
> >> section of my Scripts.iss file within the C:\JSX directory.
> >> ArchitecturesInstallIn64BitMode=x64 ia64
> >>
> >> I am told this is not working.  Previously, the only changes I have
made
> > to
> >> this file has been to set constants for version, developer, copyright,
> >> and
> >> so on.  I have had to only edit this file to make it use these
constants.
> >> Is this the correct file to update for 64 bit?  Does the placement
within
> >> the section matter?  Are there more steps required, such as compiling?
> >> Is
> > a
> >> new version of JSX required that has made this change, compiled, and
> >> redistributed?
> >>
> >> Clearly, I am missing something here.  Since I can not test the 64 bit
> >> installer for our VMware scripts, Chris Hallsworth will test it out on
> >> his
> >> Windows 7 64 bit system.
> >>
> >> Don Marang
> >>
> >>
> >> ----- Original Message ----- 
> >> From: "Doug Lee" <doug.lee@xxxxxxxxxxxxxxxx>
> >> To: <jawsscripts@xxxxxxxxxxxxx>
> >> Sent: Saturday, October 03, 2009 3:30 PM
> >> Subject: [jawsscripts] Issues when scripting for 64-bit Windows
versions
> >>
> >>
> >> > This is probably old news to some out there, but in case not...
> >> >
> >> > I have spent this week working out a few issues with JAWS scripts on
> >> > 64-bit Windows versions.  One issue I ran into was that Inno Setup
> >> > installers for such scripts could not find the JAWS registry entries
> >> > indicating where to install scripts for the various compatible JAWS
> >> > versions on a 64-bit machine.
> >> >
> >> > In summary, it turns out that you have to add something like the
> >> > following line to the [Setup] section of your .iss file:
> >> >
> >> > ArchitecturesInstallIn64BitMode=x64 ia64
> >> >
> >> > Without that line, Inno Setup will always have the installer run in
> >> > 32-bit mode.  This is a problem on a 64-bit Windows version because
> >> > JAWS itself, being a 64-bit process there, will not list itself in
the
> >> > 32-bit version of the system registry.  For an Inno Setup installer
to
> >> > find the registry entries for JAWS, it has to run in 64-bit mode and
> >> > use the 64-bit version of the registry.  (I suppose it might be
> >> > possible to access the 64-bit version of the registry from a 32-bit
> >> > process, but this method of solving the problem seems easier than
> >> > working that out in a way that doesn't break compatibility with
32-bit
> >> > Windows versions.)
> >> >
> >> > Another issue I encountered was that some objects that exist on
32-bit
> >> > Windows do not exist on 64-bit Windows.  Most prevalent in my work
> >> > among these is the MSScriptControl.ScriptControl object, which comes
> >> > from c:\windows\system32\MSScript.ocx.  According to my research,
> >> > there is no 64-bit version of this object available or planned by
> >> > Microsoft.  I doubt many scripters have used this, but I have on a
few
> >> > occasions.  Since Microsoft encouraged dynamic scripting of this sort
> >> > for years, I was quite stunned to discover that they are apparently
> >> > dropping support for this one.
> >> >
> >> > Any further input from JAWS scripters working with 64-bit Windows
> >> > versions is welcome indeed.
> >> >
> >> >
> >> > -- 
> >> > Doug Lee, Senior Accessibility Programmer
> >> > SSB BART Group - Accessibility-on-Demand
> >> > mailto:doug.lee@xxxxxxxxxxxxxxxx  http://www.ssbbartgroup.com
> >> > "While they were saying among themselves it cannot be done,
> >> > it was done." --Helen Keller
> >> > __________
> >> > Visit and contribute to The JAWS Script Repository
> > http://jawsscripts.com
> >> >
> >> > View the list's information and change your settings at
> >> > //www.freelists.org/list/jawsscripts
> >> >
> >>
> >> __________
> >> Visit and contribute to The JAWS Script Repository
http://jawsscripts.com
> >>
> >> View the list's information and change your settings at
> >> //www.freelists.org/list/jawsscripts
> >>
> >
> > __________
> > Visit and contribute to The JAWS Script Repository
http://jawsscripts.com
> >
> > View the list's information and change your settings at
> > //www.freelists.org/list/jawsscripts
> >
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> //www.freelists.org/list/jawsscripts
>

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
//www.freelists.org/list/jawsscripts

Other related posts: