View Single Post
  #65  
Old 03-02-2019, 06:55
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,073
Thanks: 1,814
Thanked 2,302 Times in 786 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by zirkhaki View Post
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.
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
GTX590 (03-02-2019), zirkhaki (05-02-2019)