Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FSLogix.ps1 failing to install FSLogix following download. #761

Open
MikeTIEVA opened this issue Oct 31, 2023 · 0 comments
Open

FSLogix.ps1 failing to install FSLogix following download. #761

MikeTIEVA opened this issue Oct 31, 2023 · 0 comments

Comments

@MikeTIEVA
Copy link

The start-process in line 70 of FSLogix.ps1 fails to start as per below, due the archive containing the base folder with the version number.

Below logs are from a run today.

PACKER OUT azure-arm: VERBOSE: Performing the operation "Expand-Archive" on target "C:\temp\wvd\FSLogixAppsSetup.zip". PACKER OUT azure-arm: VERBOSE: Created 'C:\temp\wvd\FSLogix\FSLogix_Apps_2.9.8612.60056\fslogix.adml'. PACKER OUT azure-arm: VERBOSE: Created 'C:\temp\wvd\FSLogix\FSLogix_Apps_2.9.8612.60056\fslogix.admx'. PACKER OUT azure-arm: VERBOSE: Created 'C:\temp\wvd\FSLogix\FSLogix_Apps_2.9.8612.60056\README.txt'. PACKER OUT azure-arm: VERBOSE: Adding 'C:\temp\wvd\FSLogix\FSLogix_Apps_2.9.8612.60056\Win32\'. PACKER OUT azure-arm: VERBOSE: Adding 'C:\temp\wvd\FSLogix\FSLogix_Apps_2.9.8612.60056\Win32\Release\'. PACKER OUT azure-arm: VERBOSE: Created 'C:\temp\wvd\FSLogix\FSLogix_Apps_2.9.8612.60056\Win32\Release\FSLogixAppsJavaRuleEditorSetup.exe'. PACKER OUT azure-arm: VERBOSE: Created 'C:\temp\wvd\FSLogix\FSLogix_Apps_2.9.8612.60056\Win32\Release\FSLogixAppsRuleEditorSetup.exe'. PACKER OUT azure-arm: VERBOSE: Created 'C:\temp\wvd\FSLogix\FSLogix_Apps_2.9.8612.60056\Win32\Release\FSLogixAppsSetup.exe'. PACKER OUT azure-arm: VERBOSE: Adding 'C:\temp\wvd\FSLogix\FSLogix_Apps_2.9.8612.60056\x64\'. PACKER OUT azure-arm: VERBOSE: Adding 'C:\temp\wvd\FSLogix\FSLogix_Apps_2.9.8612.60056\x64\Release\'. PACKER OUT azure-arm: VERBOSE: Created 'C:\temp\wvd\FSLogix\FSLogix_Apps_2.9.8612.60056\x64\Release\FSLogixAppsJavaRuleEditorSetup.exe'. PACKER OUT azure-arm: VERBOSE: Created 'C:\temp\wvd\FSLogix\FSLogix_Apps_2.9.8612.60056\x64\Release\FSLogixAppsRuleEditorSetup.exe'. PACKER OUT azure-arm: VERBOSE: Created 'C:\temp\wvd\FSLogix\FSLogix_Apps_2.9.8612.60056\x64\Release\FSLogixAppsSetup.exe'. PACKER OUT azure-arm: AVD AIB Customization - Install FSLogix : UnZip of FSLogix complete PACKER OUT azure-arm: AVD AIB Customization - Install FSLogix : Starting to install FSLogix PACKER OUT azure-arm: Start-Process : This command cannot be run due to the error: The system cannot find the file specified. PACKER OUT azure-arm: At C:\AVDImage\enableFslogix.ps1:70 char:26 PACKER OUT azure-arm: + $fslogix_deploy_status = Start-Process
PACKER OUT azure-arm: + ~~~~~~~~~~~~~~~
PACKER OUT azure-arm: + CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
PACKER OUT azure-arm: + FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
PACKER OUT azure-arm:
PACKER OUT azure-arm: AVD AIB Customization - Install FSLogix : Configure FSLogix Profile Settings
`

As can be seen from the extraction logs above the error itself, the archive is downloaded and extracted how Line 70 of the script does not reference the version folder (and also contains a hardcoded reference to the temp folder instead of using the $LocalWVDpath variable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant