Filed a bug [1903285] for the issue. Thanks for the help.
On Tue, Feb 26, 2008 at 5:29 PM, David Bender <[EMAIL PROTECTED]> wrote:
>
> Yes, please open a bug for this.
>
> As you noted, on Windows the InstallShield STAF installer first copies all
> of the codepage files to the codepage directory, then determines (using
> Windows Registry settings) which codepage files are really needed, and
then
> deletes the other files. To determine which files to keep, it compares
the
> codepage file directory structure with the expected files using the target
> install directory from InstallShield, which in this case has the extra
> forward slash, which causes the comparisons to fail, which is why all the
> codepage files get deleted. We'll need to figure out why the target
install
> directory we are getting form InstallShield does not have the extra
forward
> slash removed, since InstallShield is obviously handing it correctly for
the
> overall install.
>
> David Bender
> STAF/STAX Development
> 8-1268 (512-838-1268)
> IBM Austin Bldg. 903-5B002
> Internet: [EMAIL PROTECTED]
>
>
>
>
>
> "Jesse Millan" <[EMAIL PROTECTED]>
> Sent by: [EMAIL PROTECTED]
>
> 02/26/2008 06:13 PM
>
> To
> [email protected]
>
> cc David Bender/Austin/[EMAIL PROTECTED]
>
> Subject Re: [staf-users] codepage file(s) not getting installed on silent
> jar install?
>
>
>
>
>
>
> This has gotta be a bug.
>
> Investigating further, it seems I actually had a typo - an extra
> forward slash at the end of my install location parameter. Turns out,
> if stafinstalldirectory.defaultInstallLocation, which is passed to the
> installer jar, has an extra forward slash in the path, the codepage
> directory gets populated with files, but inadvertently gets completely
> wiped out just before the installer jar exits. Every other file laid
> down in the installation seems to be intact.
>
> i.e.
>
> The following command installs STAF fine:
>
> C:\Documents and Settings\me\Desktop>java -Dis:debug=1 -jar
> STAF311-setup-win32.jar -silent -W license.selection="Accept" -W
> stafinstalldirectory.defaultInstallLocation="c:/work/me/staf6" -W
> stafOptions.updateEnvironmentVariables="User"
>
> While the following builds, then destroys the entire contents of the
> codepage directory (notice the extra forward slash next to staf6):
>
> C:\Documents and Settings\me\Desktop>java -Dis:debug=1 -jar
> STAF311-setup-win32.jar -silent -W license.selection="Accept" -W
> stafinstalldirectory.defaultInstallLocation="c:/work/me//staf6" -W
> stafOptions.updateEnvironmentVariables="User"
>
> -Jesse
>
> On Tue, Feb 26, 2008 at 2:03 PM, David Bender <[EMAIL PROTECTED]> wrote:
> >
> > I ran the same command on a Windows XP machine:
> >
> > > c:\jdk1.5.0\jre\bin\java -Dis:debug=1 -jar STAF324-setup-win32.jar
> -silent
> > -W license.selection="Accept" -W
> > stafinstalldirectory.defaultInstallLocation="c:/work/foo/staf" -W
> > stafOptions.updateEnvironmentVariables="User"
> >
> > And STAFProc started fine, and had the following codepage files:
> >
> > > dir c:\work\foo\staf\codepage
> > Volume in drive C has no label.
> > Volume Serial Number is C4A2-4D9D
> >
> > Directory of c:\work\foo\staf\codepage
> >
> > 02/26/2008 03:52 PM <DIR> .
> > 02/26/2008 03:52 PM <DIR> ..
> > 12/12/2007 01:26 AM 10,049 alias.txt
> > 12/12/2007 01:26 AM 3,392 ibm-1252.bin
> > 12/12/2007 01:26 AM 4,416 ibm-437.bin
> >
> > Was there enough free space on the C drive for all of the files? Can
you
> > try re-installing STAF?
> >
> > After you install, is environment variable STAFCONVDIR set correctly?
> For
> > example on my system (run from a new command prompt opened after the
STAF
> > install completed):
> >
> > > set STAFCONVDIR
> > STAFCONVDIR=c:\work\foo\staf\codepage
> >
> > David Bender
> > STAF/STAX Development
> > 8-1268 (512-838-1268)
> > IBM Austin Bldg. 903-5B002
> > Internet: [EMAIL PROTECTED]
> >
> >
> >
> >
> > "Jesse Millan" <[EMAIL PROTECTED]>
> > Sent by: [EMAIL PROTECTED]
> >
> > 02/26/2008 02:50 PM
> >
> > To [email protected]
> >
> > cc
> >
> > Subject [staf-users] codepage file(s) not getting installed on silent
jar
> > install?
> >
> >
> >
> >
> >
> >
> > Hello,
> >
> > Any idea why I get an empty codepage directory on a silent jar install
> > on XP? I get the failure when I try to start STAFProc: Could not open
> > file C:\work\foo\staf/alias.txt
> >
> > Silent install command:
> >
> > C:\Documents and Settings\foo\Desktop>C:\jdk1.5.0\jre\bin\java
> > -Dis:debug=1 -jar STAF324-setup-win32.jar -silent -W
> > license.selection="Accept" -W
> > stafinstalldirectory.defaultInstallLocation="c:/work/foo/staf" -W
> > stafOptions.updateEnvironmentVariables="User"
> >
> > Thanks for any pointers!
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2008.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > staf-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/staf-users
> >
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> staf-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/staf-users
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
staf-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/staf-users