Hello, I am working with creating a AWS AMI for BC365 to install the server components as well as the web components on the same EC2 instance. I got all the powershell commands to install the components, and validated it sets up the way I want it to on an existing server. However, when running the commands through EC2 image builder, I get the below error:
MSI log file set to: C:\Windows\TEMP\setup.wix.msi.e.log
Done configuring package. Id = 'WebClient' ReturnCode = 1603
ERROR: Package Web Server Components failed with error. See detailed message above.
##################################################################
WixCreateInternetShortcuts: Creating IUniformResourceLocatorW shortcut 'C:\Windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Business Central Web Client.url' target 'localhost:8080/sitename'
WixCreateInternetShortcuts: Error 0x80070003: failed to save shortcut 'C:\Windows\system32\config\systemprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Business Central Web Client.url'
WixCreateInternetShortcuts: Error 0x80070003: failed to create Internet shortcut
CustomAction WixCreateInternetShortcuts returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 21:15:40: InstallFinalize. Return value 3.
WixRemoveInternetShortcuts: Error 0x80070103: failed to read shortcut attributes from custom action data
CustomAction WixRollbackInternetShortcuts returned actual error code 1603 but will be translated to success due to continue marking
Action ended 21:15:43: INSTALL. Return value 3.
I am curious to know if there is a work around for this issue.
Thank you,

Report
All responses (
Answers (