windows-nt/Source/XPSP1/NT/termsrv/admtools/appcmpt/cht/pwrbldr6.cmd

75 lines
1.9 KiB
Batchfile
Raw Normal View History

2020-09-26 03:20:57 -05:00
@Echo Off
Rem #########################################################################
Rem
Rem <20>ˬd %RootDrive% <20>O<EFBFBD>_<EFBFBD>w<EFBFBD>]<5D>w<EFBFBD>A<EFBFBD>ñN<C3B1><4E><EFBFBD>]<5D>w<EFBFBD><77><EFBFBD><EFBFBD><EFBFBD>O<EFBFBD>ɡC
Rem
Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
If "%_CHKROOT%" == "FAIL" Goto Done
Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
If "%_SETPATHS%" == "FAIL" Goto Done
Rem #########################################################################
..\ACRegL "%Temp%\PB6.Cmd" PB6INST "HKCU\Software\ODBC\ODBC.INI\Powersoft Demo DB V6" "DataBaseFile" "STRIPCHAR\1"
If Not ErrorLevel 1 Goto Cont0
Echo.
Echo <20>L<EFBFBD>k<EFBFBD>q<EFBFBD>n<EFBFBD><6E><EFBFBD>ɧ<EFBFBD><C9A7><EFBFBD> PowerBuilder 6.0 <20><><EFBFBD>O<EFBFBD>C<EFBFBD>C
Echo <20><><EFBFBD>ˬd PowerBuilder 6.0 <20>O<EFBFBD>_<EFBFBD>w<EFBFBD>w<EFBFBD>ˡA<CBA1>í<EFBFBD><C3AD>s
Echo <20><><EFBFBD><EFBFBD><EFBFBD>o<EFBFBD>ӫ<EFBFBD><D3AB>O<EFBFBD>ɡC
Echo.
Pause
Goto Done
:Cont0
Call "%Temp%\PB6.Cmd"
Del "%Temp%\PB6.Cmd" >Nul: 2>&1
Rem
Rem <20>ܧ<EFBFBD><DCA7>n<EFBFBD><6E><EFBFBD><EFBFBD><EFBFBD>X<EFBFBD>A<EFBFBD>N<EFBFBD><4E><EFBFBD>|<7C><><EFBFBD>V<EFBFBD>ϥΪ̫<CEAA><CCAB>w<EFBFBD><77>
Rem <20>ؿ<EFBFBD><D8BF>C
Rem
Rem <20>p<EFBFBD>G<EFBFBD>ثe<D8AB><65><EFBFBD>O<EFBFBD>w<EFBFBD>˼Ҧ<CBBC><D2A6>A<EFBFBD>N<EFBFBD>ܧ󦨦w<F3A6A8A6>˼Ҧ<CBBC><D2A6>C
Set __OrigMode=Install
ChgUsr /query > Nul:
if Not ErrorLevel 101 Goto Begin
Set __OrigMode=Exec
Change User /Install > Nul:
:Begin
..\acsr "#ROOTDRIVE#" "%RootDrive%" Template\pwrbldr6.Key pwrbldr6.key
regini pwrbldr6.key > Nul:
Rem <20>p<EFBFBD>G<EFBFBD><47><EFBFBD>ӬO<D3AC><4F><EFBFBD><EFBFBD><EFBFBD>Ҧ<EFBFBD><D2A6>A<EFBFBD>N<EFBFBD>ܦ^<5E><><EFBFBD><EFBFBD><EFBFBD>Ҧ<EFBFBD><D2A6>C
If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
Set __OrigMode=
Rem #########################################################################
Rem
Rem <20><><EFBFBD>s PBld6Usr.Cmd <20>H<EFBFBD>ϬM<CFAC><4D><EFBFBD>ڦw<DAA6>˥ؿ<CBA5><D8BF>A<EFBFBD>ñN<C3B1><4E>
Rem <20>[<5B>J UsrLogn2.Cmd <20><><EFBFBD>O<EFBFBD>ɡC
Rem
..\acsr "#INSTDIR#" "%PB6INST%" ..\Logon\Template\PBld6Usr.Cmd ..\Logon\PBld6Usr.cmd
FindStr /I PBld6Usr %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
If Not ErrorLevel 1 Goto Skip1
Echo Call PBld6Usr.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
:Skip1
Rem #########################################################################
Echo.
Echo <20><><EFBFBD>F<EFBFBD>T<EFBFBD>O PowerBuilder 6.0 <20><><EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>A<EFBFBD>ثe<D8AB>n<EFBFBD>J<EFBFBD><4A>
Echo <20>ϥΪ̥<CEAA><CCA5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>n<EFBFBD>X<EFBFBD>A<EFBFBD><41><EFBFBD>s<EFBFBD>n<EFBFBD>J<EFBFBD><4A><EFBFBD>A<EFBFBD><41><EFBFBD><EFBFBD> PowerBuilder 6.0<EFBFBD>C
Echo.
Echo PowerBuilder 6.0 <20>h<EFBFBD>ϥΪ<CFA5><CEAA><EFBFBD><EFBFBD>ε{<7B><><EFBFBD>վ㧹<D5BE><E3A7B9><EFBFBD>C
Pause
:done