More registry issues on OS 2004

%3CLINGO-SUB%20id%3D%22lingo-sub-1479660%22%20slang%3D%22en-US%22%3EMore%20registry%20issues%20on%20OS%202004%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1479660%22%20slang%3D%22en-US%22%3E%3CP%3EApplication%3A%20Siemens%20JtToGo%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20repackaging%20using%20the%20MSIX%20Packaging%20Tool%2C%20the%20application%20pops%20up%20a%20message%20that%20it%20cannot%20create%20a%20key.%26nbsp%3B%20ProcMon%20traces%20on%20older%20OS%20versions%20and%202004%20show%20an%20improvement%20in%20what%20the%20app%20is%20trying%20to%20do%2C%20but%20it%20still%20isn't%20enough.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESee%20attached%20trace%20image%20taken%20from%20a%202004%20system%20of%20the%20package.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20app%20package%20has%20a%20key%26nbsp%3B%20HKCU%5CSoftware%5CSiemens%5CJtToGo_retained%5C12.2%5CCommon%5CC%5C%20and%20an%20unrelated%20subkey%20under%20it.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20app%20first%20tries%20to%20create%20a%20new%20subkey%20(%20VPSearch)%2C%20and%20then%20a%20sub-subkey%20(LocationCache).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%201909%20and%20below%2C%20the%20attempt%20to%20create%20the%20VPSearch%20subkey%20fails.%26nbsp%3B%202004%20runtime%20includes%20support%20that%20now%20allows%20that%20subkey%20to%20be%20created.%26nbsp%3B%20However%20the%20sub-subkey%20creation%20still%20fails%2C%20likely%20due%20to%20some%20faulty%20logic%20in%20the%20code%20that%20allowed%20the%20first%20case%20to%20now%20work.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1479678%22%20slang%3D%22en-US%22%3ERe%3A%20More%20registry%20issues%20on%20OS%202004%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1479678%22%20slang%3D%22en-US%22%3E%3CP%3E%3CEM%3EAnd%20here%20is%20another%20case.%26nbsp%3B%20WinSCP.%3C%2FEM%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20this%20case%2C%20the%20package%20has%20a%20key%20%22HKCU%5CSoftware%5CMartin%20Prikryl%5CWinSCP%202%22%20with%20an%20unrelated%20subkey.%26nbsp%3B%20It%20attempts%20to%20RegCreateKey%20with%20the%20same%20type%20of%20request%20(Desired%20Access%3DRead%2FWrite)%20in%20the%20procmon%20trace%20(attached)%20on%20OS%202004.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20looks%20exactly%20like%20the%20Jt2Go%20case%20for%26nbsp%3B%3CSPAN%20style%3D%22display%3A%20inline%20!important%3B%20float%3A%20none%3B%20background-color%3A%20%23ffffff%3B%20color%3A%20%23333333%3B%20font-family%3A%20'SegoeUI'%2C'Lato'%2C'Helvetica%20Neue'%2CHelvetica%2CArial%2Csans-serif%3B%20font-size%3A%2014px%3B%20font-style%3A%20normal%3B%20font-variant%3A%20normal%3B%20font-weight%3A%20300%3B%20letter-spacing%3A%20normal%3B%20orphans%3A%202%3B%20text-align%3A%20left%3B%20text-decoration%3A%20none%3B%20text-indent%3A%200px%3B%20text-transform%3A%20none%3B%20-webkit-text-stroke-width%3A%200px%3B%20white-space%3A%20normal%3B%20word-spacing%3A%200px%3B%22%3EVPSearch%3C%2FSPAN%3E%20but%20unlike%20Jt2Go%2C%20this%20one%20fails.%26nbsp%3B%20So%20perhaps%20there%20is%20more%20going%20on%20than%20I%20can%20trace%2C%20but%20clearly%20the%20results%20of%20key%20creation%20within%20the%20container%20questionable%3B%20I%20can't%20figure%20out%20what%20will%20or%20won't%20work%20from%20the%20calling%20parameters%20as%20shown%20in%20Procmon%20and%20what%20is%20in%20the%20package.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1482913%22%20slang%3D%22en-US%22%3ERe%3A%20More%20registry%20issues%20on%20OS%202004%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1482913%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20Tim%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJt2Go%20seems%20to%20have%20a%20store%20version%20too.%20Are%20you%20testing%20an%20older%20one%3F%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fp%2Fjt2go%2F9wzdncrdm85d%3Factivetab%3Dpivot%3Aoverviewtab%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fp%2Fjt2go%2F9wzdncrdm85d%3Factivetab%3Dpivot%3Aoverviewtab%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
MVP

Application: Siemens JtToGo

 

When repackaging using the MSIX Packaging Tool, the application pops up a message that it cannot create a key.  ProcMon traces on older OS versions and 2004 show an improvement in what the app is trying to do, but it still isn't enough.

 

See attached trace image taken from a 2004 system of the package.

 

The app package has a key  HKCU\Software\Siemens\JtToGo_retained\12.2\Common\C\ and an unrelated subkey under it.

 

The app first tries to create a new subkey ( VPSearch), and then a sub-subkey (LocationCache).

 

In 1909 and below, the attempt to create the VPSearch subkey fails.  2004 runtime includes support that now allows that subkey to be created.  However the sub-subkey creation still fails, likely due to some faulty logic in the code that allowed the first case to now work.

2 Replies

And here is another case.  WinSCP.

 

In this case, the package has a key "HKCU\Software\Martin Prikryl\WinSCP 2" with an unrelated subkey.  It attempts to RegCreateKey with the same type of request (Desired Access=Read/Write) in the procmon trace (attached) on OS 2004.

 

This looks exactly like the Jt2Go case for VPSearch but unlike Jt2Go, this one fails.  So perhaps there is more going on than I can trace, but clearly the results of key creation within the container questionable; I can't figure out what will or won't work from the calling parameters as shown in Procmon and what is in the package.

Hi Tim,

 

Jt2Go seems to have a store version too. Are you testing an older one?

https://www.microsoft.com/en-us/p/jt2go/9wzdncrdm85d?activetab=pivot:overviewtab