failed to install due to shell folders

failed to install due to shell folders

ahmed.alwaeli
Explorer Explorer
404 Views
1 Reply
Message 1 of 2

failed to install due to shell folders

ahmed.alwaeli
Explorer
Explorer

Hi,

we deploy autodesk prodects through SCCM. i create the deployment package through autodesk manager interface and download the deployment package. autocad installs with no issues but 3D MAP complains about shell folders in which we have only the user docmunet files on a network share. 

the only way to get the installer to complete is by changing the shell folders in the registry from W:\ whcih is a network share into c:\username\document. 

this is not really a solution because we deploy to a bunch of users. 

i wonder if there is a way to edit the collection.xml file to redirect the installer to choose a local folder instead of the default W:\ which we assign with group policy.

regards

0 Likes
Accepted solutions (1)
405 Views
1 Reply
Reply (1)
Message 2 of 2

ahmed.alwaeli
Explorer
Explorer
Accepted solution

nothing for more than 20 days so i had to imporvise.

the solution is to add the below command lines to the start of the install script. ofcourse you have to change the code as it suits your environment. the group policy with fix them back to original state after the next refresh. just wonder how hard it is for autodesk developers to fix this simple issue in the code.

 

reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Favorites /t REG_SZ /d "%USERPROFILE%\favoriter" /f
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v Personal /t REG_SZ /d "%USERPROFILE%" /f
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Favorites /t REG_SZ /d "%USERPROFILE%\favoriter" /f
reg add "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders" /v Personal /t REG_SZ /d "%USERPROFILE%" /f

0 Likes