emason
Pilgrim

Repackager building and ISM Problem

We're still looking at it but we have two machine one with AS9.5 and one with AS9.5 SP1.

When we do the build in repackager on the SP2 machine we get an error

""Reading repackager output file
Loading registry entries
Unrecognized line in .nir file.

Conversion stopped with one or more error(s).""

But this works fine on the AS9.5 machine.

Anyone know if SP1 changes anything.
0 Kudos
16 Replies
Cary_R
Pilgrim

Re: Repackager building and ISM Problem

Hi There,

I'm not aware of anything that would have changed this in 9.5 SP1.

Can you post the *.nir file?
0 Kudos
Ajay_Ladsaria
Pilgrim

Re: Repackager building and ISM Problem

Hi,

Actually we made a change to the schema of NIR files in AS 9.5 SP1. Basically, we now escape double quotes and backslashes in the registry value name in the NIR and ISR files. This is actually the correct registry format, so we made this change. Unfortunately, this means that previously captured repackaged data may not be compatible with the new 9.5 SP1 Repackager for this reason.

You should not run into this problem if you capture a new install with Repackager 9.5 SP1. Please let us know if you do.

Regards,
Ajay
0 Kudos
iLostMyTaco
Pilgrim

Re: Repackager building and ISM Problem

Well check this out. I upgraded my 9.5 install to SP1 and went to work on a ZEN conversion package today and got the same error as the OP. I originally converted it before upgrading to SP1, so I thought I would convert it again. I get the same result. I even tried manually editing it also which I included.

From Build Log.txt

Unrecognized line in .nir file.

Conversion stopped with one or more error(s).


Delete.nir contents

REGEDIT4


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\ShellNew]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\0000000000013f72]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\0000000000013f72\StartupHasBeenRun]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@%SystemFolder%\mycomput.dll,-400"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@%SystemFolder%\SHELL32.dll,-29188"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@%SystemFolder%\SHELL32.dll,-8503"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@netcfgx.dll,-50001"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@netcfgx.dll,-50002"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@netcfgx.dll,-50003"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2015"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2016"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2017"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2037"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2038"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2039"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2040"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2041"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2042"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2048"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2049"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2050"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2052"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2053"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2054"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2055"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2056"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2057"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2058"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2059"=

[HKEY_CURRENT_USER\Software\NetWare\NAL\1.0\Links\*POSITIONS]
"App Visual Source Safe"=

[HKEY_CURRENT_USER\Software\NetWare\NAL\1.0\Links\*POSITIONS]
"Fix NDPS for USERS"=

[HKEY_CURRENT_USER\Software\NetWare\NAL\1.0\Links\*POSITIONS]
"Install JRE 1_3_1_07"=

[HKEY_CURRENT_USER\Software\NetWare\NAL\1.0\Links\*POSITIONS]
"Install Quest_Stat"=

[HKEY_CURRENT_USER\Software\NetWare\NAL\1.0\Links\*POSITIONS]
"Tool Backup and Join Shared"=

[HKEY_CURRENT_USER\Software\NetWare\NAL\1.0\SACache\CITY_SEATTLE\Apps\App Snapshot32.Users.DoIT.Seattle\Folders]
"Admins"=

[HKEY_CURRENT_USER\Software\NetWare\NAL\1.0\SACache\CITY_SEATTLE\Folders]
"Admins"=

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{331E9BF5-F0B5-4459-A4AD-F447E2266083}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{5B067F83-A836-416B-9010-397D0177BF07}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{7EF2886F-8804-4941-815A-8B17CE2173DD}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{8306142F-A8AA-414D-B353-B75FF230FBD7}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{89DE37D3-64D8-4F7F-80C1-DCE3F56A07EE}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{96737169-2B4D-4EC0-9601-52E7BA64E946}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{C633698A-2C53-491E-B469-378831904005}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{D86A66DB-CC22-4954-A223-3213BEECE666}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\NetWareWorkstation\ServerCache\KGW04]

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\NetWareWorkstation\ServerCache\PERSNW01]

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\NetWareWorkstation\ServerCache\SEA3]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"PendingFileRenameOperations"=


Manually edited Delete.nir

REGEDIT4


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Discardable\PostSetup\ShellNew]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\0000000000013f72]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\SessionInfo\0000000000013f72\StartupHasBeenRun]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@%SystemFolder%\\mycomput.dll,-400"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@%SystemFolder%\\SHELL32.dll,-29188"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@%SystemFolder%\\SHELL32.dll,-8503"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@netcfgx.dll,-50001"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@netcfgx.dll,-50002"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@netcfgx.dll,-50003"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2015"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2016"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2017"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2037"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2038"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2039"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2040"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2041"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@themeui.dll,-2042"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2048"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2049"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2050"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2052"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2053"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2054"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2055"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2056"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2057"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2058"=

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache]
"@xpsp1res.dll,-2059"=

[HKEY_CURRENT_USER\Software\NetWare\NAL\1.0\Links\*POSITIONS]
"App Visual Source Safe"=

[HKEY_CURRENT_USER\Software\NetWare\NAL\1.0\Links\*POSITIONS]
"Fix NDPS for USERS"=

[HKEY_CURRENT_USER\Software\NetWare\NAL\1.0\Links\*POSITIONS]
"Install JRE 1_3_1_07"=

[HKEY_CURRENT_USER\Software\NetWare\NAL\1.0\Links\*POSITIONS]
"Install Quest_Stat"=

[HKEY_CURRENT_USER\Software\NetWare\NAL\1.0\Links\*POSITIONS]
"Tool Backup and Join Shared"=

[HKEY_CURRENT_USER\Software\NetWare\NAL\1.0\SACache\CITY_SEATTLE\Apps\App Snapshot32.Users.DoIT.Seattle\Folders]
"Admins"=

[HKEY_CURRENT_USER\Software\NetWare\NAL\1.0\SACache\CITY_SEATTLE\Folders]
"Admins"=

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{331E9BF5-F0B5-4459-A4AD-F447E2266083}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{5B067F83-A836-416B-9010-397D0177BF07}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{7EF2886F-8804-4941-815A-8B17CE2173DD}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{8306142F-A8AA-414D-B353-B75FF230FBD7}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{89DE37D3-64D8-4F7F-80C1-DCE3F56A07EE}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{96737169-2B4D-4EC0-9601-52E7BA64E946}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{C633698A-2C53-491E-B469-378831904005}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\EventSystem\{26c409cc-ae86-11d1-b616-00805fc79216}\Subscriptions\{D86A66DB-CC22-4954-A223-3213BEECE666}-{00000000-0000-0000-0000-000000000000}-{00000000-0000-0000-0000-000000000000}]

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\NetWareWorkstation\ServerCache\KGW04]

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\NetWareWorkstation\ServerCache\PERSNW01]

[HKEY_LOCAL_MACHINE\SOFTWARE\Novell\NetWareWorkstation\ServerCache\SEA3]

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager]
"PendingFileRenameOperations"=
0 Kudos
Ajay_Ladsaria
Pilgrim

Re: Repackager building and ISM Problem

Thanks for bringing this issue to our attention. The ZENWorks package conversion takes a different code path than the normal repackaging, but then uses the same parser when opening and building with the main Repackager IDE. It seems that we missed updating the ZENWorks conversion code path to also properly escape backslashes and quotes in registry entries.

Could you attach one of your reproduction ZENWorks project files (AXT extension) and also the generated IRP, INC, ISR, and NIR files? I should be able to reproduce the behavior you are seeing with these files.

At the very least I should be able to point out what needs to be manually changed in the generated Repackager project files to get it to build successfully.

Thanks,
Ajay
0 Kudos