Installation fails on project templates creation.

0
0

Hi,

I decided to update to the latest version 2.2.21. But sadly the update failed with the message “The specified path is too long”. It clamed it was doing a rollback but instead it uninstalled Wisej.

Trying to install again fail again with a message that the specified path is too long. Trying an earlier version also fails with the same message.

I opened Tools–>Options–>Projects and solutions–>Locations and changed it to:
C:\ProgramData\VS2019\Templates\ProjectTemplates
C:\ProgramData\VS2019\Templates\ItemTemplates

But still it insists on installing the templates to the network path:
\\MGPRINT2.xxxx.no\Dokumenter$\wilfred\My Documents\Visual Studio 2019\Templates\…

Any help appreciated as I’m now dead in the water.

Best regards,
Wilfred

  • You must to post comments
0
0

Hi,

Yes, changing documents folder temporarily worked.

The network path is nowhere near 260 characters so there must be something else going on.

Hope it is possible fix the installer to honor the setting in visual studio to where the templates should go.

Also, fix the issue with installation rollback not working.

Thanks.

Best regards,

Wilfred

  • You must to post comments
0
0

Hi Wilfred,

maybe you can change your MyDocuments location temporarily to fix that issue?

Best regards
Frank

  • You must to post comments
0
0

Hi,

I’m not doing anything fancy like installing to a network path.

But I’m on a corporate network and it is common to redirect the users document folder to a network path.

As stated before.
I opened Tools–>Options–>Projects and solutions–>Locations and changed it to:
C:\ProgramData\VS2019\Templates\ProjectTemplates
C:\ProgramData\VS2019\Templates\ItemTemplates

Why is Wisej still trying to install templates to the network path?

Thanks.

Best regard,
Wilfred

  • You must to post comments
0
0

Hi Wilfred,

this appears to be a limitation of MS Installers not being able to install on network paths longer than 260 characters.

See here: https://www.advancedinstaller.com/forums/viewtopic.php?t=30490

You could trying to install on a mapped drive or locally.

Hope that helps.

Best regards
Frank

 

  • You must to post comments
0
0

Only Microsoft Visual Studio Enterprise 2019.

  • You must to post comments
0
0

Hi Wilfred,

do you have more than one Visual Studio 2019, e.g. a Community and Professional | Enterprise Edition on the same machine?

If yes, you might consider changing the Paths in the other edition as well.

Best regards
Frank

  • You must to post comments
Showing 6 results
Your Answer

Please first to submit.