Hi All,
I have managed to upload InstallService to the
http://vastgoodies.com/ web site. I think I did everything right.
Before loading it you should run the script below in a workspace. InstallService depends upon some platform functions and constants that are not yet included in VA Smalltalk. I expect Instantiations will add the functions and constants
to a version of VA Smalltalk after V8.0.3.
Lou
- Code: Select all
"Initialize PlatformFunctions, run this in a workspace before loading the
InstallServiceApp and its prereqsites. This may not need to be done if
Instantiations adds the functions and constants."
PlatformFunctions at: 'SHGetSpecialFolderLocation' ifAbsentPut: [PlatformFunction fromArray: #('C' 'SHGetSpecialFolderLocation' nil 'shell32.dll' #(#uint32 #int32 #pointer) #uint32)].
PlatformFunctions at: 'SHGetPathFromIDList' ifAbsentPut: [PlatformFunction fromArray: #('C' 'SHGetPathFromIDList' nil 'shell32.dll' #(#pointer #pointer) #boolean)].
PlatformFunctions at: 'SHBrowseForFolder' ifAbsentPut: [PlatformFunction fromArray: #('C' 'SHBrowseForFolder' nil 'shell32.dll' #(#pointer) #pointer)].
PlatformFunctions at: 'ChangeServiceConfig2' ifAbsentPut: [PlatformFunction fromArray: #('C' 'ChangeServiceConfig2A' nil 'advapi32.dll' #(#pointer #uint32 #pointer) #bool)].
PlatformConstants at: 'ServiceConfigDescription' ifAbsentPut: [1].
PlatformConstants at: 'ServiceConfigFailureActions' ifAbsentPut: [2].