Quote:
Originally Posted by zirkhaki
thanks for the updated version.
just a question!
Did you add the registry option to enable Developer mode automatically? you know if we don not enable it, this game won't install properly.
as Simorq said, if you add this to Registry.iss, developer mode will be enabled after installation:
Code:
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock"; ValueName: "AllowAllTrustedApps"; ValueType: Dword; ValueData: "$1"; MinVersion: 0.0,5.0; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock"; ValueName: "AllowDevelopmentWithoutDevLicense"; ValueType: Dword; ValueData: "$1"; MinVersion: 0.0,5.0; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM64; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock"; ValueName: "AllowAllTrustedApps"; ValueType: Dword; ValueData: "$1"; Check: "isWin64"; MinVersion: 0.0,5.0; Flags: uninsdeletevalue uninsdeletekeyifempty
Root: HKLM64; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock"; ValueName: "AllowDevelopmentWithoutDevLicense"; ValueType: Dword; ValueData: "$1"; Check: "isWin64"; MinVersion: 0.0,5.0; Flags: uninsdeletevalue uninsdeletekeyifempty
|
No additional key is needed in the registry using CIU v3.
I recommend not adding these keys because you will be changing the user settings permanently without even informing about the change.
CIU v3 makes a backup of the devolper mode settings of your system before installing the UWP games, then switches to devolper mode and finally after install restores the previous backup settings.