Setting System.AppUserModel.ID during install
I have a request to provide the AMUID (System.AppUserModel.ID) for two executable components we install during a product install.
In previous iterations of the installer package we placed a shortcut to a VBScript start-up script which calls the applications for us on start-up. The applications being called exist on the disk but are not present in the shell:AppsFolder (virtual application directory).
We are now running this software in kiosk mode and this requires that we provide AMUID to the kiosk so it can call the two executables directly (without script).
To do this, we are attempting to add a shortcut to the executable component so we can specify the AMUID in the MSIShortcutProperty table.
Is there any documentation on how exactly we can achieve this? We basically want the app to appear in the "Applications" virtual folder so it will show it's AMUID when we query it with Powershell command "get-startapps".
Note, the project is currently built using the Installshield Premier 2013 IDE, we have a license for Premier 2018 and Professional 2018 but the project has not been upgraded yet.
Application User Model IDs
Thanks in advance.
Re: Setting System.AppUserModel.ID during install
Can you check this can be configured through the "Shell Properties" setting available in the shortcut.
In shortcut view, create a shortcut for your application and then go to the "Shell Properties" settings. There is an option to configure custom property if it is not under the predefined properties.
More information can be found at the below link:
Basic MSI, DIM, InstallScript MSI, Merge Module, MSI Database, MSM Database, Transform
This setting lets you specify one or more shortcut properties that need to be set by the Windows Shell at run time.
To specify one or more properties, click the Add New Shell Shortcut Property button in this setting, and then click one of the available options:
If you select this option, InstallShield adds a Key Name setting, plus additional rows of subsettings, and configures them as needed.
Specify additional properties as needed.
Note • Windows Installer 5 introduced support for the Shell property settings. Earlier versions of Windows Installer ignore these settings.
For more information, see Setting Shell Properties for a Shortcut.