Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

505 lines
36 KiB

  1. @Echo Off
  2. Rem
  3. Rem NOTE: The CACLS commands in this script are only effective
  4. Rem on NTFS formatted partitions.
  5. Rem
  6. Rem #########################################################################
  7. Rem
  8. Rem
  9. Call "%SystemRoot%\Application Compatibility Scripts\ChkRoot.Cmd"
  10. If "%_CHKROOT%" == "FAIL" Goto Done
  11. Call "%SystemRoot%\Application Compatibility Scripts\SetPaths.Cmd"
  12. If "%_SETPATHS%" == "FAIL" Goto Done
  13. Rem #########################################################################
  14. Rem
  15. Rem Get the installation location of Visual Studio 6.0 from the registry. If
  16. Rem not found, assume Visual Studio 6.0 isn't installed and display a message.
  17. Rem
  18. #ifdef _WIN64
  19. ..\ACRegL %Temp%\0VC98.Cmd 0VC98 "HKLM\Software\Wow6432Node\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual C++" "ProductDir" ""
  20. #else
  21. ..\ACRegL %Temp%\0VC98.Cmd 0VC98 "HKLM\Software\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual C++" "ProductDir" ""
  22. #endif //_WIN64
  23. If Not ErrorLevel 1 Goto Cont0
  24. Echo.
  25. Echo Unable to retrieve Visual Studio 6.0 installation location from the registry.
  26. Echo Verify that Visual Studio 6.0 has already been installed and run this script
  27. Echo again.
  28. Echo.
  29. Pause
  30. Goto Done
  31. :Cont0
  32. Call %Temp%\0VC98.Cmd
  33. Del %Temp%\0VC98.Cmd >Nul: 2>&1
  34. Rem #########################################################################
  35. Rem
  36. Rem Change Registry Keys to make paths point to user specific
  37. Rem directories.
  38. Rem
  39. Rem If not currently in Install Mode, change to Install Mode.
  40. Set __OrigMode=Install
  41. ChgUsr /query > Nul:
  42. if Not ErrorLevel 101 Goto Begin
  43. Set __OrigMode=Exec
  44. Change User /Install > Nul:
  45. :Begin
  46. ..\acsr "#ROOTDRIVE#" "%RootDrive%" Template\msvs6.Key %temp%\msvs6.tmp
  47. ..\acsr "#MY_DOCUMENTS#" "%MY_DOCUMENTS%" %temp%\msvs6.tmp %temp%\msvs6.tmp2
  48. ..\acsr "#APP_DATA#" "%APP_DATA%" %temp%\msvs6.tmp2 msvs6.key
  49. Del %temp%\msvs6.tmp >Nul: 2>&1
  50. Del %temp%\msvs6.tmp2 >Nul: 2>&1
  51. regini msvs6.key > Nul:
  52. Rem If original mode was execute, change back to Execute Mode.
  53. If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
  54. Set __OrigMode=
  55. Rem #########################################################################
  56. Rem Create the user logon file for Visual Studio app
  57. Echo Rem >..\logon\VS6USR.Cmd
  58. Rem #########################################################################
  59. Rem Create per user Visual Studio projects directory
  60. Echo Rem >>..\logon\VS6USR.Cmd
  61. Echo Rem Create per user Visual Studio projects directory>>..\logon\VS6USR.Cmd
  62. Echo call TsMkUDir "%RootDrive%\%MY_DOCUMENTS%\Visual Studio Projects">>..\logon\VS6USR.Cmd
  63. Echo Rem >>..\logon\VS6USR.Cmd
  64. Rem #########################################################################
  65. Rem
  66. Rem Get the installation location of Visual Studio 6.0 Entreprise Edition Tools from the registry. If
  67. Rem not found, assume Visual Studio 6.0 entreprise tools aren't installed.
  68. Rem If found, In US version, it contains <VStudioPath>\Common\Tools
  69. Rem
  70. #ifdef _WIN64
  71. ..\ACRegL %Temp%\VSEET.Cmd VSEET "HKLM\Software\Wow6432Node\Microsoft\VisualStudio\6.0\Setup\Microsoft VSEE Client" "ProductDir" ""
  72. #else
  73. ..\ACRegL %Temp%\VSEET.Cmd VSEET "HKLM\Software\Microsoft\VisualStudio\6.0\Setup\Microsoft VSEE Client" "ProductDir" ""
  74. #endif _WIN64
  75. If Not ErrorLevel 1 Goto VSEET0
  76. Goto VSEETDone
  77. :VSEET0
  78. Call %Temp%\VSEET.Cmd
  79. Del %Temp%\VSEET.Cmd >Nul: 2>&1
  80. If Not Exist "%VSEET%\APE\AEMANAGR.INI" Goto VSEETDone
  81. ..\acsr "=AE.LOG" "=%RootDrive%\AE.LOG" "%VSEET%\APE\AEMANAGR.INI" "%VSEET%\APE\AEMANAGR.TMP"
  82. If Exist "%VSEET%\APE\AEMANAGRINI.SAV" Del /F /Q "%VSEET%\APE\AEMANAGRINI.SAV"
  83. ren "%VSEET%\APE\AEMANAGR.INI" "AEMANAGRINI.SAV"
  84. ren "%VSEET%\APE\AEMANAGR.TMP" "AEMANAGR.INI"
  85. Echo Rem Copy APE ini file to the user windows directory >>..\logon\VS6USR.Cmd
  86. Echo Rem >>..\logon\VS6USR.Cmd
  87. Echo If Exist "%RootDrive%\Windows\AEMANAGR.INI" Goto UVSEET0 >>..\logon\VS6USR.Cmd
  88. Echo If Exist "%VSEET%\APE\AEMANAGR.INI" Copy "%VSEET%\APE\AEMANAGR.INI" "%RootDrive%\Windows\AEMANAGR.INI" >Nul: 2>&1 >>..\logon\VS6USR.Cmd
  89. Echo Rem >>..\logon\VS6USR.Cmd
  90. Echo :UVSEET0>>..\logon\VS6USR.Cmd
  91. Echo Rem Copy Visual Modeler ini file to the user windows directory >>..\logon\VS6USR.Cmd
  92. Echo Rem >>..\logon\VS6USR.Cmd
  93. Echo If Exist "%RootDrive%\Windows\ROSE.INI" Goto UVSEET1 >>..\logon\VS6USR.Cmd
  94. Echo If Exist "%VSEET%\VS-Ent98\Vmodeler\ROSE.INI" Copy "%VSEET%\VS-Ent98\Vmodeler\ROSE.INI" "%RootDrive%\Windows\ROSE.INI" >Nul: 2>&1 >>..\logon\VS6USR.Cmd
  95. Echo Rem >>..\logon\VS6USR.Cmd
  96. Echo :UVSEET1>>..\logon\VS6USR.Cmd
  97. :VSEETDone
  98. Rem #########################################################################
  99. Rem
  100. Rem add VS6USR.Cmd to the UsrLogn2.Cmd script
  101. Rem
  102. FindStr /I VS6USR %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
  103. If Not ErrorLevel 1 Goto Skip1
  104. Echo Call VS6USR.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
  105. :Skip1
  106. Rem #########################################################################
  107. Rem Get the Visual foxPro product install directory
  108. #ifdef _WIN64
  109. ..\ACRegL %Temp%\VFP98TMP.Cmd VFP98DIR "HKLM\Software\Wow6432Node\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual FoxPro" "ProductDir" ""
  110. #else
  111. ..\ACRegL %Temp%\VFP98TMP.Cmd VFP98DIR "HKLM\Software\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual FoxPro" "ProductDir" ""
  112. #endif //_WIN64
  113. Rem if Visual FoxPro isn't installed, skip to the cleanup code
  114. If ErrorLevel 1 goto Skip2
  115. Rem #########################################################################
  116. Rem
  117. Rem Get the custom dictionary key from the registry.
  118. Rem
  119. Set __SharedTools=Shared Tools
  120. #ifdef _WIN64
  121. ..\ACRegL %Temp%\VFP98TMP.Cmd VFP98DIC "HKLM\Software\Wow6432Node\Microsoft\%__SharedTools%\Proofing Tools\Custom Dictionaries" "1" ""
  122. #else
  123. ..\ACRegL %Temp%\VFP98TMP.Cmd VFP98DIC "HKLM\Software\Microsoft\%__SharedTools%\Proofing Tools\Custom Dictionaries" "1" ""
  124. #endif //_WIN64
  125. If Not ErrorLevel 1 Goto VFP98L3
  126. Echo.
  127. Rem Unable to retrieve the value from the registry. Create it now.
  128. Echo.
  129. Rem Create VFP98TMP.key file
  130. #ifdef _WIN64
  131. Echo HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\%__SharedTools%\Proofing Tools\Custom Dictionaries> %Temp%\VFP98TMP.key
  132. #else
  133. Echo HKEY_LOCAL_MACHINE\Software\Microsoft\%__SharedTools%\Proofing Tools\Custom Dictionaries> %Temp%\VFP98TMP.key
  134. #endif //_WIN64
  135. Echo 1 = REG_SZ "%RootDrive%\%MY_DOCUMENTS%\Custom.Dic">> %Temp%\VFP98TMP.key
  136. Rem Create the value
  137. regini %Temp%\VFP98TMP.key > Nul:
  138. Del %Temp%\VFP98TMP.key >Nul: 2>&1
  139. Echo set VFP98DIC=%RootDrive%\%MY_DOCUMENTS%\Custom.Dic>%Temp%\VFP98TMP.Cmd
  140. :VFP98L3
  141. Call %Temp%\VFP98TMP.Cmd
  142. Del %Temp%\VFP98TMP.Cmd >Nul: 2>&1
  143. Rem #########################################################################
  144. Rem Get the Visual foxPro product install directory
  145. #ifdef _WIN64
  146. ..\ACRegL %Temp%\VFP98TMP.Cmd VFP98DIR "HKLM\Software\Wow6432Node\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual FoxPro" "ProductDir" ""
  147. #else
  148. ..\ACRegL %Temp%\VFP98TMP.Cmd VFP98DIR "HKLM\Software\Microsoft\VisualStudio\6.0\Setup\Microsoft Visual FoxPro" "ProductDir" ""
  149. #endif //_WIN64
  150. If Not ErrorLevel 1 Goto VFP98L4
  151. Echo.
  152. Echo Unable to retrieve Visual FoxPro installation location from the registry.
  153. Echo Verify that this app has already been installed and run this script
  154. Echo again.
  155. Echo.
  156. Pause
  157. Goto Skip2
  158. :VFP98L4
  159. Call "%Temp%\VFP98TMP.Cmd"
  160. Del "%Temp%\VFP98TMP.Cmd"
  161. Rem #########################################################################
  162. Rem Create the user logon file for Visual FoxPro app
  163. Echo Rem >..\logon\VFP98USR.Cmd
  164. Rem #########################################################################
  165. Rem Create per user Visual FoxPro directories
  166. Echo Rem >>..\logon\VFP98USR.Cmd
  167. Echo Rem Create a per user Visual FoxPro directory (VFP98)>>..\logon\VFP98USR.Cmd
  168. Echo If Exist %RootDrive%\VFP98 Goto VFP98L3>>..\logon\VFP98USR.Cmd
  169. Echo call TsMkUDir %RootDrive%\VFP98>>..\logon\VFP98USR.Cmd
  170. Echo Rem >>..\logon\VFP98USR.Cmd
  171. Echo Rem Create a per user Visual FoxPro distrib directory >>..\logon\VFP98USR.Cmd
  172. Echo call TsMkUDir %RootDrive%\VFP98\DISTRIB>>..\logon\VFP98USR.Cmd
  173. Echo Rem >>..\logon\VFP98USR.Cmd
  174. Echo Rem #########################################################################>>..\logon\VFP98USR.Cmd
  175. Echo Rem Create the custom dictionary if it doesn't exist.>>..\logon\VFP98USR.Cmd
  176. Echo Rem >>..\logon\VFP98USR.Cmd
  177. Echo If Exist "%VFP98DIC%" Goto VFP98L2 >>..\logon\VFP98USR.Cmd
  178. Echo Copy Nul: "%VFP98DIC%" >Nul: 2>&1 >>..\logon\VFP98USR.Cmd
  179. Echo :VFP98L2 >>..\logon\VFP98USR.Cmd
  180. Echo call TsMkUDir "%RootDrive%\VFP98\FFC">>..\logon\VFP98USR.Cmd
  181. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Address Book\Data">>..\logon\VFP98USR.Cmd
  182. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Asset Tracking\Data">>..\logon\VFP98USR.Cmd
  183. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Books\Data">>..\logon\VFP98USR.Cmd
  184. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Contact\Data">>..\logon\VFP98USR.Cmd
  185. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Donation\Data">>..\logon\VFP98USR.Cmd
  186. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Event Management\Data">>..\logon\VFP98USR.Cmd
  187. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Expenses\Data">>..\logon\VFP98USR.Cmd
  188. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Household Inventory\Data">>..\logon\VFP98USR.Cmd
  189. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Inventory Control\Data">>..\logon\VFP98USR.Cmd
  190. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Ledger\Data">>..\logon\VFP98USR.Cmd
  191. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Membership\Data">>..\logon\VFP98USR.Cmd
  192. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Music Collection\Data">>..\logon\VFP98USR.Cmd
  193. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Order Entry\Data">>..\logon\VFP98USR.Cmd
  194. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Picture Library\Data">>..\logon\VFP98USR.Cmd
  195. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Recipes\Data">>..\logon\VFP98USR.Cmd
  196. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Resource Scheduling\Data">>..\logon\VFP98USR.Cmd
  197. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Service Call Management\Data">>..\logon\VFP98USR.Cmd
  198. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Students And Classes\Data">>..\logon\VFP98USR.Cmd
  199. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Time And Billing\Data">>..\logon\VFP98USR.Cmd
  200. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Video Collection\Data">>..\logon\VFP98USR.Cmd
  201. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Wine List\Data">>..\logon\VFP98USR.Cmd
  202. Echo call TsMkUDir "%RootDrive%\VFP98\Wizards\Template\Workout\Data">>..\logon\VFP98USR.Cmd
  203. Echo call TsMkUDir "%RootDrive%\VFP98\Gallery">>..\logon\VFP98USR.Cmd
  204. Echo copy "%VFP98DIR%\FFC\*.VCX" "%RootDrive%\VFP98\FFC">> ..\logon\VFP98USR.Cmd
  205. Echo copy "%VFP98DIR%\FFC\*.VCT" "%RootDrive%\VFP98\FFC">> ..\logon\VFP98USR.Cmd
  206. Echo copy "%VFP98DIR%\Wizards\Template\Address Book\Data\address book.dbc" "%RootDrive%\VFP98\Wizards\Template\Address Book\Data\address book.dbc">> ..\logon\VFP98USR.Cmd
  207. Echo copy "%VFP98DIR%\Wizards\Template\Address Book\Data\address book.dct" "%RootDrive%\VFP98\Wizards\Template\Address Book\Data\address book.dct">> ..\logon\VFP98USR.Cmd
  208. Echo copy "%VFP98DIR%\Wizards\Template\Address Book\Data\address book.dcx" "%RootDrive%\VFP98\Wizards\Template\Address Book\Data\address book.dcx">> ..\logon\VFP98USR.Cmd
  209. Echo copy "%VFP98DIR%\Wizards\Template\Asset tracking\Data\asset tracking.dbc" "%RootDrive%\VFP98\Wizards\Template\Asset tracking\Data\asset tracking.dbc">> ..\logon\VFP98USR.Cmd
  210. Echo copy "%VFP98DIR%\Wizards\Template\Asset tracking\Data\asset tracking.dct" "%RootDrive%\VFP98\Wizards\Template\Asset tracking\Data\asset tracking.dct">> ..\logon\VFP98USR.Cmd
  211. Echo copy "%VFP98DIR%\Wizards\Template\Asset tracking\Data\asset tracking.dcx" "%RootDrive%\VFP98\Wizards\Template\Asset tracking\Data\asset tracking.dcx">> ..\logon\VFP98USR.Cmd
  212. Echo copy "%VFP98DIR%\Wizards\Template\Books\Data\books.dbc" "%RootDrive%\VFP98\Wizards\Template\Books\Data\books.dbc">> ..\logon\VFP98USR.Cmd
  213. Echo copy "%VFP98DIR%\Wizards\Template\Books\Data\books.dct" "%RootDrive%\VFP98\Wizards\Template\Books\Data\books.dct">> ..\logon\VFP98USR.Cmd
  214. Echo copy "%VFP98DIR%\Wizards\Template\Books\Data\books.dcx" "%RootDrive%\VFP98\Wizards\Template\Books\Data\books.dcx">> ..\logon\VFP98USR.Cmd
  215. Echo copy "%VFP98DIR%\Wizards\Template\Contact\Data\Contacts.dbc" "%RootDrive%\VFP98\Wizards\Template\Contact\Data\Contacts.dbc">> ..\logon\VFP98USR.Cmd
  216. Echo copy "%VFP98DIR%\Wizards\Template\Contact\Data\Contacts.dct" "%RootDrive%\VFP98\Wizards\Template\Contact\Data\Contacts.dct">> ..\logon\VFP98USR.Cmd
  217. Echo copy "%VFP98DIR%\Wizards\Template\Contact\Data\Contacts.dcx" "%RootDrive%\VFP98\Wizards\Template\Contact\Data\Contacts.dcx">> ..\logon\VFP98USR.Cmd
  218. Echo copy "%VFP98DIR%\Wizards\Template\Donation\Data\Campaign.dbc" "%RootDrive%\VFP98\Wizards\Template\Donation\Data\Campaign.dbc">> ..\logon\VFP98USR.Cmd
  219. Echo copy "%VFP98DIR%\Wizards\Template\Donation\Data\Campaign.dct" "%RootDrive%\VFP98\Wizards\Template\Donation\Data\Campaign.dct">> ..\logon\VFP98USR.Cmd
  220. Echo copy "%VFP98DIR%\Wizards\Template\Donation\Data\Campaign.dcx" "%RootDrive%\VFP98\Wizards\Template\Donation\Data\Campaign.dcx">> ..\logon\VFP98USR.Cmd
  221. Echo copy "%VFP98DIR%\Wizards\Template\Event Management\Data\Event Management.dbc" "%RootDrive%\VFP98\Wizards\Template\Event Management\Data\Event Management.dbc">> ..\logon\VFP98USR.Cmd
  222. Echo copy "%VFP98DIR%\Wizards\Template\Event Management\Data\Event Management.dct" "%RootDrive%\VFP98\Wizards\Template\Event Management\Data\Event Management.dct">> ..\logon\VFP98USR.Cmd
  223. Echo copy "%VFP98DIR%\Wizards\Template\Event Management\Data\Event Management.dcx" "%RootDrive%\VFP98\Wizards\Template\Event Management\Data\Event Management.dcx">> ..\logon\VFP98USR.Cmd
  224. Echo copy "%VFP98DIR%\Wizards\Template\Expenses\Data\Expenses.dbc" "%RootDrive%\VFP98\Wizards\Template\Expenses\Data\Expenses.dbc">> ..\logon\VFP98USR.Cmd
  225. Echo copy "%VFP98DIR%\Wizards\Template\Expenses\Data\Expenses.dct" "%RootDrive%\VFP98\Wizards\Template\Expenses\Data\Expenses.dct">> ..\logon\VFP98USR.Cmd
  226. Echo copy "%VFP98DIR%\Wizards\Template\Expenses\Data\Expenses.dcx" "%RootDrive%\VFP98\Wizards\Template\Expenses\Data\Expenses.dcx">> ..\logon\VFP98USR.Cmd
  227. Echo copy "%VFP98DIR%\Wizards\Template\Household Inventory\Data\Household Inventory.dbc" "%RootDrive%\VFP98\Wizards\Template\Household Inventory\Data\Household Inventory.dbc">> ..\logon\VFP98USR.Cmd
  228. Echo copy "%VFP98DIR%\Wizards\Template\Household Inventory\Data\Household Inventory.dct" "%RootDrive%\VFP98\Wizards\Template\Household Inventory\Data\Household Inventory.dct">> ..\logon\VFP98USR.Cmd
  229. Echo copy "%VFP98DIR%\Wizards\Template\Household Inventory\Data\Household Inventory.dcx" "%RootDrive%\VFP98\Wizards\Template\Household Inventory\Data\Household Inventory.dcx">> ..\logon\VFP98USR.Cmd
  230. Echo copy "%VFP98DIR%\Wizards\Template\Inventory Control\Data\Inventory Control.dbc" "%RootDrive%\VFP98\Wizards\Template\Inventory Control\Data\Inventory Control.dbc">> ..\logon\VFP98USR.Cmd
  231. Echo copy "%VFP98DIR%\Wizards\Template\Inventory Control\Data\Inventory Control.dct" "%RootDrive%\VFP98\Wizards\Template\Inventory Control\Data\Inventory Control.dct">> ..\logon\VFP98USR.Cmd
  232. Echo copy "%VFP98DIR%\Wizards\Template\Inventory Control\Data\Inventory Control.dcx" "%RootDrive%\VFP98\Wizards\Template\Inventory Control\Data\Inventory Control.dcx">> ..\logon\VFP98USR.Cmd
  233. Echo copy "%VFP98DIR%\Wizards\Template\Ledger\Data\Ledger.dbc" "%RootDrive%\VFP98\Wizards\Template\Ledger\Data\Ledger.dbc">> ..\logon\VFP98USR.Cmd
  234. Echo copy "%VFP98DIR%\Wizards\Template\Ledger\Data\Ledger.dct" "%RootDrive%\VFP98\Wizards\Template\Ledger\Data\Ledger.dct">> ..\logon\VFP98USR.Cmd
  235. Echo copy "%VFP98DIR%\Wizards\Template\Ledger\Data\Ledger.dcx" "%RootDrive%\VFP98\Wizards\Template\Ledger\Data\Ledger.dcx">> ..\logon\VFP98USR.Cmd
  236. Echo copy "%VFP98DIR%\Wizards\Template\Membership\Data\Membership.dbc" "%RootDrive%\VFP98\Wizards\Template\Membership\Data\Membership.dbc">> ..\logon\VFP98USR.Cmd
  237. Echo copy "%VFP98DIR%\Wizards\Template\Membership\Data\Membership.dct" "%RootDrive%\VFP98\Wizards\Template\Membership\Data\Membership.dct">> ..\logon\VFP98USR.Cmd
  238. Echo copy "%VFP98DIR%\Wizards\Template\Membership\Data\Membership.dcx" "%RootDrive%\VFP98\Wizards\Template\Membership\Data\Membership.dcx">> ..\logon\VFP98USR.Cmd
  239. Echo copy "%VFP98DIR%\Wizards\Template\Music Collection\Data\Music Collection.dbc" "%RootDrive%\VFP98\Wizards\Template\Music Collection\Data\Music Collection.dbc">> ..\logon\VFP98USR.Cmd
  240. Echo copy "%VFP98DIR%\Wizards\Template\Music Collection\Data\Music Collection.dct" "%RootDrive%\VFP98\Wizards\Template\Music Collection\Data\Music Collection.dct">> ..\logon\VFP98USR.Cmd
  241. Echo copy "%VFP98DIR%\Wizards\Template\Music Collection\Data\Music Collection.dcx" "%RootDrive%\VFP98\Wizards\Template\Music Collection\Data\Music Collection.dcx">> ..\logon\VFP98USR.Cmd
  242. Echo copy "%VFP98DIR%\Wizards\Template\Order Entry\Data\Order Entry.dbc" "%RootDrive%\VFP98\Wizards\Template\Order Entry\Data\Order Entry.dbc">> ..\logon\VFP98USR.Cmd
  243. Echo copy "%VFP98DIR%\Wizards\Template\Order Entry\Data\Order Entry.dct" "%RootDrive%\VFP98\Wizards\Template\Order Entry\Data\Order Entry.dct">> ..\logon\VFP98USR.Cmd
  244. Echo copy "%VFP98DIR%\Wizards\Template\Order Entry\Data\Order Entry.dcx" "%RootDrive%\VFP98\Wizards\Template\Order Entry\Data\Order Entry.dcx">> ..\logon\VFP98USR.Cmd
  245. Echo copy "%VFP98DIR%\Wizards\Template\Picture Library\Data\Picture Library.dbc" "%RootDrive%\VFP98\Wizards\Template\Picture Library\Data\Picture Library.dbc">> ..\logon\VFP98USR.Cmd
  246. Echo copy "%VFP98DIR%\Wizards\Template\Picture Library\Data\Picture Library.dct" "%RootDrive%\VFP98\Wizards\Template\Picture Library\Data\Picture Library.dct">> ..\logon\VFP98USR.Cmd
  247. Echo copy "%VFP98DIR%\Wizards\Template\Picture Library\Data\Picture Library.dcx" "%RootDrive%\VFP98\Wizards\Template\Picture Library\Data\Picture Library.dcx">> ..\logon\VFP98USR.Cmd
  248. Echo copy "%VFP98DIR%\Wizards\Template\Recipes\Data\Recipes.dbc" "%RootDrive%\VFP98\Wizards\Template\Recipes\Data\Recipes.dbc">> ..\logon\VFP98USR.Cmd
  249. Echo copy "%VFP98DIR%\Wizards\Template\Recipes\Data\Recipes.dct" "%RootDrive%\VFP98\Wizards\Template\Recipes\Data\Recipes.dct">> ..\logon\VFP98USR.Cmd
  250. Echo copy "%VFP98DIR%\Wizards\Template\Recipes\Data\Recipes.dcx" "%RootDrive%\VFP98\Wizards\Template\Recipes\Data\Recipes.dcx">> ..\logon\VFP98USR.Cmd
  251. Echo copy "%VFP98DIR%\Wizards\Template\Resource Scheduling\Data\Resource Scheduling.dbc" "%RootDrive%\VFP98\Wizards\Template\Resource Scheduling\Data\Resource Scheduling.dbc">> ..\logon\VFP98USR.Cmd
  252. Echo copy "%VFP98DIR%\Wizards\Template\Resource Scheduling\Data\Resource Scheduling.dct" "%RootDrive%\VFP98\Wizards\Template\Resource Scheduling\Data\Resource Scheduling.dct">> ..\logon\VFP98USR.Cmd
  253. Echo copy "%VFP98DIR%\Wizards\Template\Resource Scheduling\Data\Resource Scheduling.dcx" "%RootDrive%\VFP98\Wizards\Template\Resource Scheduling\Data\Resource Scheduling.dcx">> ..\logon\VFP98USR.Cmd
  254. Echo copy "%VFP98DIR%\Wizards\Template\Service Call Management\Data\Service Call Management.dbc" "%RootDrive%\VFP98\Wizards\Template\Service Call Management\Data\Service Call Management.dbc">> ..\logon\VFP98USR.Cmd
  255. Echo copy "%VFP98DIR%\Wizards\Template\Service Call Management\Data\Service Call Management.dct" "%RootDrive%\VFP98\Wizards\Template\Service Call Management\Data\Service Call Management.dct">> ..\logon\VFP98USR.Cmd
  256. Echo copy "%VFP98DIR%\Wizards\Template\Service Call Management\Data\Service Call Management.dcx" "%RootDrive%\VFP98\Wizards\Template\Service Call Management\Data\Service Call Management.dcx">> ..\logon\VFP98USR.Cmd
  257. Echo copy "%VFP98DIR%\Wizards\Template\Students And Classes\Data\Students And Classes.dbc" "%RootDrive%\VFP98\Wizards\Template\Students And Classes\Data\Students And Classes.dbc">> ..\logon\VFP98USR.Cmd
  258. Echo copy "%VFP98DIR%\Wizards\Template\Students And Classes\Data\Students And Classes.dct" "%RootDrive%\VFP98\Wizards\Template\Students And Classes\Data\Students And Classes.dct">> ..\logon\VFP98USR.Cmd
  259. Echo copy "%VFP98DIR%\Wizards\Template\Students And Classes\Data\Students And Classes.dcx" "%RootDrive%\VFP98\Wizards\Template\Students And Classes\Data\Students And Classes.dcx">> ..\logon\VFP98USR.Cmd
  260. Echo copy "%VFP98DIR%\Wizards\Template\Time And Billing\Data\Time And Billing.dbc" "%RootDrive%\VFP98\Wizards\Template\Time And Billing\Data\Time And Billing.dbc">> ..\logon\VFP98USR.Cmd
  261. Echo copy "%VFP98DIR%\Wizards\Template\Time And Billing\Data\Time And Billing.dct" "%RootDrive%\VFP98\Wizards\Template\Time And Billing\Data\Time And Billing.dct">> ..\logon\VFP98USR.Cmd
  262. Echo copy "%VFP98DIR%\Wizards\Template\Time And Billing\Data\Time And Billing.dcx" "%RootDrive%\VFP98\Wizards\Template\Time And Billing\Data\Time And Billing.dcx">> ..\logon\VFP98USR.Cmd
  263. Echo copy "%VFP98DIR%\Wizards\Template\Video Collection\Data\Video Collection.dbc" "%RootDrive%\VFP98\Wizards\Template\Video Collection\Data\Video Collection.dbc">> ..\logon\VFP98USR.Cmd
  264. Echo copy "%VFP98DIR%\Wizards\Template\Video Collection\Data\Video Collection.dct" "%RootDrive%\VFP98\Wizards\Template\Video Collection\Data\Video Collection.dct">> ..\logon\VFP98USR.Cmd
  265. Echo copy "%VFP98DIR%\Wizards\Template\Video Collection\Data\Video Collection.dcx" "%RootDrive%\VFP98\Wizards\Template\Video Collection\Data\Video Collection.dcx">> ..\logon\VFP98USR.Cmd
  266. Echo copy "%VFP98DIR%\Wizards\Template\Wine List\Data\Wine List.dbc" "%RootDrive%\VFP98\Wizards\Template\Wine List\Data\Wine List.dbc">> ..\logon\VFP98USR.Cmd
  267. Echo copy "%VFP98DIR%\Wizards\Template\Wine List\Data\Wine List.dct" "%RootDrive%\VFP98\Wizards\Template\Wine List\Data\Wine List.dct">> ..\logon\VFP98USR.Cmd
  268. Echo copy "%VFP98DIR%\Wizards\Template\Wine List\Data\Wine List.dcx" "%RootDrive%\VFP98\Wizards\Template\Wine List\Data\Wine List.dcx">> ..\logon\VFP98USR.Cmd
  269. Echo copy "%VFP98DIR%\Wizards\Template\Workout\Data\Workout.dbc" "%RootDrive%\VFP98\Wizards\Template\Workout\Data\Workout.dbc">> ..\logon\VFP98USR.Cmd
  270. Echo copy "%VFP98DIR%\Wizards\Template\Workout\Data\Workout.dct" "%RootDrive%\VFP98\Wizards\Template\Workout\Data\Workout.dct">> ..\logon\VFP98USR.Cmd
  271. Echo copy "%VFP98DIR%\Wizards\Template\Workout\Data\Workout.dcx" "%RootDrive%\VFP98\Wizards\Template\Workout\Data\Workout.dcx">> ..\logon\VFP98USR.Cmd
  272. Echo copy "%VFP98DIR%\Wizards\WIZBTNS.VCX" "%RootDrive%\VFP98\Wizards\WIZBTNS.VCX">> ..\logon\VFP98USR.Cmd
  273. Echo copy "%VFP98DIR%\Wizards\WIZBTNS.VCT" "%RootDrive%\VFP98\Wizards\WIZBTNS.VCT">> ..\logon\VFP98USR.Cmd
  274. Echo copy "%VFP98DIR%\Gallery\_WEBVIEW.VCX" "%RootDrive%\VFP98\Gallery\_WEBVIEW.VCX">> ..\logon\VFP98USR.Cmd
  275. Echo copy "%VFP98DIR%\Gallery\_WEBVIEW.VCT" "%RootDrive%\VFP98\Gallery\_WEBVIEW.VCT">> ..\logon\VFP98USR.Cmd
  276. Echo :VFP98L3>>..\logon\VFP98USR.Cmd
  277. Rem #########################################################################
  278. Rem Set the follwoing key in WZSETUP.INI file
  279. Rem
  280. If Exist "%VFP98DIR%\WZSETUP.INI" Goto VFP98L5
  281. Echo [Preferences] >"%VFP98DIR%\WZSETUP.INI"
  282. Echo DistributionDirectory=%RootDrive%\VFP98\DISTRIB >>"%VFP98DIR%\WZSETUP.INI"
  283. :VFP98L5
  284. Rem #########################################################################
  285. Rem
  286. Rem Change Registry Keys to make paths point to user specific
  287. Rem directories.
  288. Rem
  289. Rem First Create VFP98TMP.key file
  290. Echo HKEY_CURRENT_USER\Software\Microsoft\VisualFoxPro\6.0\Options> %Temp%\VFP98TMP.key
  291. Echo DEFAULT = REG_SZ "%RootDrive%\VFP98">> %Temp%\VFP98TMP.key
  292. Echo SetDefault = REG_SZ "1">> %Temp%\VFP98TMP.key
  293. Echo ResourceTo = REG_SZ "%RootDrive%\VFP98\FOXUSER.DBF">> %Temp%\VFP98TMP.key
  294. Echo ResourceOn = REG_SZ "1">> %Temp%\VFP98TMP.key
  295. #ifdef _WIN64
  296. Echo HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\PerUserFiles\Visual FoxPro 6.0>> %Temp%\VFP98TMP.key
  297. #else
  298. Echo HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Terminal Server\Compatibility\PerUserFiles\Visual FoxPro 6.0>> %Temp%\VFP98TMP.key
  299. #endif //_WIN64
  300. Echo %VFP98DIR%\FFC\*.VCX="%RootDrive%\VFP98\FFC">> %Temp%\VFP98TMP.key
  301. Echo %VFP98DIR%\FFC\*.VCT="%RootDrive%\VFP98\FFC">> %Temp%\VFP98TMP.key
  302. Echo %VFP98DIR%\Wizards\Template\Address Book\Data\address book.dbc="%RootDrive%\VFP98\Wizards\Template\Address Book\Data">> %Temp%\VFP98TMP.key
  303. Echo %VFP98DIR%\Wizards\Template\Address Book\Data\address book.dct="%RootDrive%\VFP98\Wizards\Template\Address Book\Data">> %Temp%\VFP98TMP.key
  304. Echo %VFP98DIR%\Wizards\Template\Address Book\Data\address book.dcx="%RootDrive%\VFP98\Wizards\Template\Address Book\Data">> %Temp%\VFP98TMP.key
  305. Echo %VFP98DIR%\Wizards\Template\Asset tracking\Data\asset tracking.dbc="%RootDrive%\VFP98\Wizards\Template\Asset tracking\Data">> %Temp%\VFP98TMP.key
  306. Echo %VFP98DIR%\Wizards\Template\Asset tracking\Data\asset tracking.dct="%RootDrive%\VFP98\Wizards\Template\Asset tracking\Data">> %Temp%\VFP98TMP.key
  307. Echo %VFP98DIR%\Wizards\Template\Asset tracking\Data\asset tracking.dcx="%RootDrive%\VFP98\Wizards\Template\Asset tracking\Data">> %Temp%\VFP98TMP.key
  308. Echo %VFP98DIR%\Wizards\Template\Books\Data\books.dbc="%RootDrive%\VFP98\Wizards\Template\Books\Data">> %Temp%\VFP98TMP.key
  309. Echo %VFP98DIR%\Wizards\Template\Books\Data\books.dct="%RootDrive%\VFP98\Wizards\Template\Books\Data">> %Temp%\VFP98TMP.key
  310. Echo %VFP98DIR%\Wizards\Template\Books\Data\books.dcx="%RootDrive%\VFP98\Wizards\Template\Books\Data">> %Temp%\VFP98TMP.key
  311. Echo %VFP98DIR%\Wizards\Template\Contact\Data\Contacts.dbc="%RootDrive%\VFP98\Wizards\Template\Contact\Data">> %Temp%\VFP98TMP.key
  312. Echo %VFP98DIR%\Wizards\Template\Contact\Data\Contacts.dct="%RootDrive%\VFP98\Wizards\Template\Contact\Data">> %Temp%\VFP98TMP.key
  313. Echo %VFP98DIR%\Wizards\Template\Contact\Data\Contacts.dcx="%RootDrive%\VFP98\Wizards\Template\Contact\Data">> %Temp%\VFP98TMP.key
  314. Echo %VFP98DIR%\Wizards\Template\Donation\Data\Campaign.dbc="%RootDrive%\VFP98\Wizards\Template\Donation\Data">> %Temp%\VFP98TMP.key
  315. Echo %VFP98DIR%\Wizards\Template\Donation\Data\Campaign.dct="%RootDrive%\VFP98\Wizards\Template\Donation\Data">> %Temp%\VFP98TMP.key
  316. Echo %VFP98DIR%\Wizards\Template\Donation\Data\Campaign.dcx="%RootDrive%\VFP98\Wizards\Template\Donation\Data">> %Temp%\VFP98TMP.key
  317. Echo %VFP98DIR%\Wizards\Template\Event Management\Data\Event Management.dbc="%RootDrive%\VFP98\Wizards\Template\Event Management\Data">> %Temp%\VFP98TMP.key
  318. Echo %VFP98DIR%\Wizards\Template\Event Management\Data\Event Management.dct="%RootDrive%\VFP98\Wizards\Template\Event Management\Data">> %Temp%\VFP98TMP.key
  319. Echo %VFP98DIR%\Wizards\Template\Event Management\Data\Event Management.dcx="%RootDrive%\VFP98\Wizards\Template\Event Management\Data">> %Temp%\VFP98TMP.key
  320. Echo %VFP98DIR%\Wizards\Template\Expenses\Data\Expenses.dbc="%RootDrive%\VFP98\Wizards\Template\Expenses\Data">> %Temp%\VFP98TMP.key
  321. Echo %VFP98DIR%\Wizards\Template\Expenses\Data\Expenses.dct="%RootDrive%\VFP98\Wizards\Template\Expenses\Data">> %Temp%\VFP98TMP.key
  322. Echo %VFP98DIR%\Wizards\Template\Expenses\Data\Expenses.dcx="%RootDrive%\VFP98\Wizards\Template\Expenses\Data">> %Temp%\VFP98TMP.key
  323. Echo %VFP98DIR%\Wizards\Template\Household Inventory\Data\Household Inventory.dbc="%RootDrive%\VFP98\Wizards\Template\Household Inventory\Data">> %Temp%\VFP98TMP.key
  324. Echo %VFP98DIR%\Wizards\Template\Household Inventory\Data\Household Inventory.dct="%RootDrive%\VFP98\Wizards\Template\Household Inventory\Data">> %Temp%\VFP98TMP.key
  325. Echo %VFP98DIR%\Wizards\Template\Household Inventory\Data\Household Inventory.dcx="%RootDrive%\VFP98\Wizards\Template\Household Inventory\Data">> %Temp%\VFP98TMP.key
  326. Echo %VFP98DIR%\Wizards\Template\Inventory Control\Data\Inventory Control.dbc="%RootDrive%\VFP98\Wizards\Template\Inventory Control\Data">> %Temp%\VFP98TMP.key
  327. Echo %VFP98DIR%\Wizards\Template\Inventory Control\Data\Inventory Control.dct="%RootDrive%\VFP98\Wizards\Template\Inventory Control\Data">> %Temp%\VFP98TMP.key
  328. Echo %VFP98DIR%\Wizards\Template\Inventory Control\Data\Inventory Control.dcx="%RootDrive%\VFP98\Wizards\Template\Inventory Control\Data">> %Temp%\VFP98TMP.key
  329. Echo %VFP98DIR%\Wizards\Template\Ledger\Data\Ledger.dbc="%RootDrive%\VFP98\Wizards\Template\Ledger\Data">> %Temp%\VFP98TMP.key
  330. Echo %VFP98DIR%\Wizards\Template\Ledger\Data\Ledger.dct="%RootDrive%\VFP98\Wizards\Template\Ledger\Data">> %Temp%\VFP98TMP.key
  331. Echo %VFP98DIR%\Wizards\Template\Ledger\Data\Ledger.dcx="%RootDrive%\VFP98\Wizards\Template\Ledger\Data">> %Temp%\VFP98TMP.key
  332. Echo %VFP98DIR%\Wizards\Template\Membership\Data\Membership.dbc="%RootDrive%\VFP98\Wizards\Template\Membership\Data">> %Temp%\VFP98TMP.key
  333. Echo %VFP98DIR%\Wizards\Template\Membership\Data\Membership.dct="%RootDrive%\VFP98\Wizards\Template\Membership\Data">> %Temp%\VFP98TMP.key
  334. Echo %VFP98DIR%\Wizards\Template\Membership\Data\Membership.dcx="%RootDrive%\VFP98\Wizards\Template\Membership\Data">> %Temp%\VFP98TMP.key
  335. Echo %VFP98DIR%\Wizards\Template\Music Collection\Data\Music Collection.dbc="%RootDrive%\VFP98\Wizards\Template\Music Collection\Data">> %Temp%\VFP98TMP.key
  336. Echo %VFP98DIR%\Wizards\Template\Music Collection\Data\Music Collection.dct="%RootDrive%\VFP98\Wizards\Template\Music Collection\Data">> %Temp%\VFP98TMP.key
  337. Echo %VFP98DIR%\Wizards\Template\Music Collection\Data\Music Collection.dcx="%RootDrive%\VFP98\Wizards\Template\Music Collection\Data">> %Temp%\VFP98TMP.key
  338. Echo %VFP98DIR%\Wizards\Template\Order Entry\Data\Order Entry.dbc="%RootDrive%\VFP98\Wizards\Template\Order Entry\Data">> %Temp%\VFP98TMP.key
  339. Echo %VFP98DIR%\Wizards\Template\Order Entry\Data\Order Entry.dct="%RootDrive%\VFP98\Wizards\Template\Order Entry\Data">> %Temp%\VFP98TMP.key
  340. Echo %VFP98DIR%\Wizards\Template\Order Entry\Data\Order Entry.dcx="%RootDrive%\VFP98\Wizards\Template\Order Entry\Data">> %Temp%\VFP98TMP.key
  341. Echo %VFP98DIR%\Wizards\Template\Picture Library\Data\Picture Library.dbc="%RootDrive%\VFP98\Wizards\Template\Picture Library\Data">> %Temp%\VFP98TMP.key
  342. Echo %VFP98DIR%\Wizards\Template\Picture Library\Data\Picture Library.dct="%RootDrive%\VFP98\Wizards\Template\Picture Library\Data">> %Temp%\VFP98TMP.key
  343. Echo %VFP98DIR%\Wizards\Template\Picture Library\Data\Picture Library.dcx="%RootDrive%\VFP98\Wizards\Template\Picture Library\Data">> %Temp%\VFP98TMP.key
  344. Echo %VFP98DIR%\Wizards\Template\Recipes\Data\Recipes.dbc="%RootDrive%\VFP98\Wizards\Template\Recipes\Data">> %Temp%\VFP98TMP.key
  345. Echo %VFP98DIR%\Wizards\Template\Recipes\Data\Recipes.dct="%RootDrive%\VFP98\Wizards\Template\Recipes\Data">> %Temp%\VFP98TMP.key
  346. Echo %VFP98DIR%\Wizards\Template\Recipes\Data\Recipes.dcx="%RootDrive%\VFP98\Wizards\Template\Recipes\Data">> %Temp%\VFP98TMP.key
  347. Echo %VFP98DIR%\Wizards\Template\Resource Scheduling\Data\Resource Scheduling.dbc="%RootDrive%\VFP98\Wizards\Template\Resource Scheduling\Data">> %Temp%\VFP98TMP.key
  348. Echo %VFP98DIR%\Wizards\Template\Resource Scheduling\Data\Resource Scheduling.dct="%RootDrive%\VFP98\Wizards\Template\Resource Scheduling\Data">> %Temp%\VFP98TMP.key
  349. Echo %VFP98DIR%\Wizards\Template\Resource Scheduling\Data\Resource Scheduling.dcx="%RootDrive%\VFP98\Wizards\Template\Resource Scheduling\Data">> %Temp%\VFP98TMP.key
  350. Echo %VFP98DIR%\Wizards\Template\Service Call Management\Data\Service Call Management.dbc="%RootDrive%\VFP98\Wizards\Template\Service Call Management\Data">> %Temp%\VFP98TMP.key
  351. Echo %VFP98DIR%\Wizards\Template\Service Call Management\Data\Service Call Management.dct="%RootDrive%\VFP98\Wizards\Template\Service Call Management\Data">> %Temp%\VFP98TMP.key
  352. Echo %VFP98DIR%\Wizards\Template\Service Call Management\Data\Service Call Management.dcx="%RootDrive%\VFP98\Wizards\Template\Service Call Management\Data">> %Temp%\VFP98TMP.key
  353. Echo %VFP98DIR%\Wizards\Template\Students And Classes\Data\Students And Classes.dbc="%RootDrive%\VFP98\Wizards\Template\Students And Classes\Data">> %Temp%\VFP98TMP.key
  354. Echo %VFP98DIR%\Wizards\Template\Students And Classes\Data\Students And Classes.dct="%RootDrive%\VFP98\Wizards\Template\Students And Classes\Data">> %Temp%\VFP98TMP.key
  355. Echo %VFP98DIR%\Wizards\Template\Students And Classes\Data\Students And Classes.dcx="%RootDrive%\VFP98\Wizards\Template\Students And Classes\Data">> %Temp%\VFP98TMP.key
  356. Echo %VFP98DIR%\Wizards\Template\Time And Billing\Data\Time And Billing.dbc="%RootDrive%\VFP98\Wizards\Template\Time And Billing\Data">> %Temp%\VFP98TMP.key
  357. Echo %VFP98DIR%\Wizards\Template\Time And Billing\Data\Time And Billing.dct="%RootDrive%\VFP98\Wizards\Template\Time And Billing\Data">> %Temp%\VFP98TMP.key
  358. Echo %VFP98DIR%\Wizards\Template\Time And Billing\Data\Time And Billing.dcx="%RootDrive%\VFP98\Wizards\Template\Time And Billing\Data">> %Temp%\VFP98TMP.key
  359. Echo %VFP98DIR%\Wizards\Template\Video Collection\Data\Video Collection.dbc="%RootDrive%\VFP98\Wizards\Template\Video Collection\Data">> %Temp%\VFP98TMP.key
  360. Echo %VFP98DIR%\Wizards\Template\Video Collection\Data\Video Collection.dct="%RootDrive%\VFP98\Wizards\Template\Video Collection\Data">> %Temp%\VFP98TMP.key
  361. Echo %VFP98DIR%\Wizards\Template\Video Collection\Data\Video Collection.dcx="%RootDrive%\VFP98\Wizards\Template\Video Collection\Data">> %Temp%\VFP98TMP.key
  362. Echo %VFP98DIR%\Wizards\Template\Wine List\Data\Wine List.dbc="%RootDrive%\VFP98\Wizards\Template\Wine List\Data">> %Temp%\VFP98TMP.key
  363. Echo %VFP98DIR%\Wizards\Template\Wine List\Data\Wine List.dct="%RootDrive%\VFP98\Wizards\Template\Wine List\Data">> %Temp%\VFP98TMP.key
  364. Echo %VFP98DIR%\Wizards\Template\Wine List\Data\Wine List.dcx="%RootDrive%\VFP98\Wizards\Template\Wine List\Data">> %Temp%\VFP98TMP.key
  365. Echo %VFP98DIR%\Wizards\Template\Workout\Data\Workout.dbc="%RootDrive%\VFP98\Wizards\Template\Workout\Data">> %Temp%\VFP98TMP.key
  366. Echo %VFP98DIR%\Wizards\Template\Workout\Data\Workout.dct="%RootDrive%\VFP98\Wizards\Template\Workout\Data">> %Temp%\VFP98TMP.key
  367. Echo %VFP98DIR%\Wizards\Template\Workout\Data\Workout.dcx="%RootDrive%\VFP98\Wizards\Template\Workout\Data">> %Temp%\VFP98TMP.key
  368. Echo %VFP98DIR%\Wizards\WIZBTNS.VCX="%RootDrive%\VFP98\Wizards">> %Temp%\VFP98TMP.key
  369. Echo %VFP98DIR%\Wizards\WIZBTNS.VCT="%RootDrive%\VFP98\Wizards">> %Temp%\VFP98TMP.key
  370. Echo %VFP98DIR%\Gallery\_WEBVIEW.VCX="%RootDrive%\VFP98\Gallery">> %Temp%\VFP98TMP.key
  371. Echo %VFP98DIR%\Gallery\_WEBVIEW.VCT="%RootDrive%\VFP98\Gallery">> %Temp%\VFP98TMP.key
  372. Rem If not currently in Install Mode, change to Install Mode.
  373. Set __OrigMode=Install
  374. ChgUsr /query > Nul:
  375. if Not ErrorLevel 101 Goto VFP98L6
  376. Set __OrigMode=Exec
  377. Change User /Install > Nul:
  378. :VFP98L6
  379. regini %Temp%\VFP98TMP.key > Nul:
  380. Rem If original mode was execute, change back to Execute Mode.
  381. If "%__OrigMode%" == "Exec" Change User /Execute > Nul:
  382. Set __OrigMode=
  383. Del %Temp%\VFP98TMP.key >Nul: 2>&1
  384. Rem #########################################################################
  385. Rem
  386. Rem add VFP98USR.Cmd to the UsrLogn2.Cmd script
  387. Rem
  388. FindStr /I VFP98USR %SystemRoot%\System32\UsrLogn2.Cmd >Nul: 2>&1
  389. If Not ErrorLevel 1 Goto Skip2
  390. Echo Call VFP98USR.Cmd >> %SystemRoot%\System32\UsrLogn2.Cmd
  391. :Skip2
  392. If Exist "%Temp%\VFP98TMP.Cmd" Del "%Temp%\VFP98TMP.Cmd"
  393. Rem #########################################################################
  394. Rem
  395. Rem Grant TS Users to have change permission on the repostry directory so they
  396. Rem can use the Visual Component Manager
  397. Rem
  398. If Exist "%SystemRoot%\msapps\repostry" cacls "%SystemRoot%\msapps\repostry" /E /G "Terminal Server User":C >NUL: 2>&1
  399. Rem #########################################################################
  400. Echo.
  401. Echo To insure proper operation of Visual Studio 6.0, users who are
  402. Echo currently logged on must log off and log on again before
  403. Echo running any Visual Studio 6.0 application.
  404. Echo.
  405. Echo Microsoft Visual Studio 6.0 Multi-user Application Tuning Complete
  406. Rem
  407. Rem Get the permission compatibility mode from the registry.
  408. Rem If TSUserEnabled is 0 we need to warn user to change mode.
  409. Rem
  410. ..\ACRegL "%Temp%\tsuser.Cmd" TSUSERENABLED "HKLM\System\CurrentControlSet\Control\Terminal Server" "TSUserEnabled" ""
  411. If Exist "%Temp%\tsuser.Cmd" (
  412. Call "%Temp%\tsuser.Cmd"
  413. Del "%Temp%\tsuser.Cmd" >Nul: 2>&1
  414. )
  415. If NOT %TSUSERENABLED%==0 goto SkipWarning
  416. Echo.
  417. Echo IMPORTANT!
  418. Echo Terminal Server is currently running in Default Security mode.
  419. Echo This application requires the system to run in Relaxed Security mode
  420. Echo (permissions compatible with Terminal Server 4.0).
  421. Echo Use Terminal Services Configuration to view and change the Terminal
  422. Echo Server security mode.
  423. Echo.
  424. :SkipWarning
  425. Pause
  426. :done