on 05-02-2011 6:32 PM
In 7.20 sp3 these commands worked (at end of installation), after creating exe file and executing as local admin:
...
strDstFolder = "C:\Documents and Settings\All Users\Start Menu\Programs\SAP Front End\Diversen"
NwEngine.Shell.CreateDirectory strDstFolder
strDstFolder = "C:\Documents and Settings\All Users\Start Menu\Programs\SAP Front End\Diversen\General Add-On"
NwEngine.Shell.CreateDirectory strDstFolder
strDstFolder = "C:\Documents and Settings\All Users\Start Menu\Programs\SAP Front End\Diversen\R3 Add-On"
NwEngine.Shell.CreateDirectory strDstFolder
...
In 7.20 sp6 the first directory is created:
strDstFolder = "C:\Documents and Settings\All Users\Start Menu\Programs\SAP Front End\Diversen"
NwEngine.Shell.CreateDirectory strDstFolder
but then I get an error in NwSapSetup.log:
...
11:59:10 NwSapsEngn 1E Shell CreateDirectory failed: WinAPI::createDirectory( ) failed.(123)
11:59:10 NwSapsAtlC 1E Unknown Error occured in setup script (0x8007007b)
No error description available. (Line 26, Col. 1)
Hello again,
this specific problem is fixed with Note 1587566.
Best regards, Klaus-Georg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
there is an error in the NwSapSetup delivered in this version. It clobbers the content of the variable given as argument to NwEngine.Shell.CreateDirectory.
Use a different variable for each call and you should be fine.
This will be fixed in Patch 7.
Sorry for the inconvenience and best regards,
Klaus-Georg Adams
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.