cancel
Showing results for 
Search instead for 
Did you mean: 

Installation server, scripting command NwEngine.Shell.CreateDirectory

Former Member
0 Kudos

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)

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hello again,

this specific problem is fixed with Note 1587566.

Best regards, Klaus-Georg

0 Kudos

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