[SOLVED] PowerShell command import .xml Start menu
Published: August 6, 2022 - 8:57 PM
Hello, I'm trying to import an XML file to modify the start menu
The PowerShell command works fine, but not the package command
This is giving me an error.
"PathNotFound,Microsoft.Windows.StartLayout.Commands.ImportStartLayoutCommand_x000D__x000A_ <S S="Error">_x000D__x000A_</s></Objs> \n']] "
I placed the file on a shared drive (V:), but ideally I'd like to put it directly into the package. What would the command look like in that case? And why is my command
The PowerShell command works fine, but not the package command
Code: Select all
def install():
run_powershell_('Import-StartLayout -LayoutPath "V:\StartLayout(calc,note,map).xml" -MountPath "C:\"')"PathNotFound,Microsoft.Windows.StartLayout.Commands.ImportStartLayoutCommand_x000D__x000A_ <S S="Error">_x000D__x000A_</s></Objs> \n']] "
I placed the file on a shared drive (V:), but ideally I'd like to put it directly into the package. What would the command look like in that case? And why is my command