cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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.
(16) Replies
Hi There,

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

Can you post the *.nir file?
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
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"=
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
Thanks Ajay for replying. I attached the files. I didn't find any with a .isr extension.
Thank you for posting your project files. I was able to reproduce the behavior that you are reporting. Also, I am happy to report that I have a hotfix that should resolve the behavior you are experiencing.

Please make a back-up copy of islc.exe and xniSpy32.dll in the Repackager folder and then copy in the hotfix versions of these files that I am attaching. Then you should be able to successfully convert the AXT file you attached.

Please let me know if you have any problems. Also, for your reference the issue number for this problem is IOA-000053949.

Regards,
Ajay
Ajay, I followed the instructions and I still am getting the same error. I didn't patch my 2nd box with the SP update, so I'm not losing any worktime from this but I will help test if you need a guinea pig.
Thanks for the quick feedback and being amenable to testing the hotfix. In my testing in house the hotfix resolved the reported issue with your AXT file, so I want to confirm that you followed these steps:

1. Have AS 9.5 with SP1 installed.
2. Replace the two binaries in the hotfix in the Repackager folder.
3. Run Repackager and select to convert your AXT package (just in case, please delete any previously generated repackager project files).
4. After conversion, try to build in Repackager IDE, and you should not see the "Unrecognized line in .nir file" issue.

Please confirm that you followed the above steps and let me know your results.

Regards,
Ajay
Arrgh, no on #3. I thought I would've been able to just open the package I had already converted. I'll let you know how it goes.
It worked that time after I re-converted it, thanks. One more question, is there anyway I can hand-edit the packages I already converted? I still quite a few to go through yet, some are pretty big and it takes awhile to convert and move them to the new network location.
Glad to hear that reconversion worked with the hotfix!

It is technically possible to manually edit the captured INC and ISR or NIR files to ensure that backslashes and double quotes appearing within registry value names or Ini key names are escaped with a backslash. But it could be time consuming for large packages that may have multiple entries with this problem.

The registry data can be found in any ISR or NIR files, and the Ini data can be found in the INC file.

You may find that it is easiest do the reconversion. Or else, you may be able to figure out some way to quickly identify unescaped backslashes or double quotes in the Repackager project files.

-Ajay
I have AdminStudio 9.5 and installed SP1. I also applied the hotfix from this thread.

I am trying to customize a vender setup that was created with InstallShield Professional and it the Repackaging Wizard guides me through using InstallSheild Professional logging instea of repackaging. It extracts all the files and created the project files but when I go to build the package it gives me the same error:

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

Conversion stopped with one or more error(s).

I cannot find any .nir files in the directory.

Any ideas?
Hi DBrewer,

Although the Repackaging Wizard suggests to use the Professional Logging method, I recommend that you do not use this method during the repackaging. Our standard Snapshot mode or Install Monitoring mode should be fully capable of capturing the system changes made by the InstallScript setup that you are Repackaging.

Please try not using the Professional logging option and let me know how it goes.

Regards,
-Ajay
Yes that works thank you! Is there any use for the option to use logging?
In general I would recommend against using the professional logging option because our setup technology agnostic Installation Monitoring and Snapshot technologies should be perfectly capable of capturing the system changes made by the setup.

I believe we are considering either deprecating this option or else at least not selecting it by default in the Repackaging wizard.

Regards,
Ajay
Does this advice still apply?

I'm using AS11 and got the same unrecognized line in .nir file when doing an InstallScript capture. The wizard actually advised that I should use this approach.