Repackager not running silently via command line - Advanced Installer Community
FranB
Posts: 9
Joined: Mon Apr 08, 2019 12:41 pm

Repackager not running silently via command line

Hi.
We want to repackage several already-silent setup packages and convert them to MSI.
We started trying to run the Repackager.exe command line with one package to figure out how AI works, using the information described at https://www.advancedinstaller.com/user- ... r-cli.html
Unfortunatelly, unless we run the "Repackager.exe" (both 32 and 64 bit version) without arguments, it won't do anything (the process is not showing up on Windows' TaskMgr)

The command line we're using is the following:
"C:\Program Files (x86)\Caphyon\Advanced Installer 16.5\bin\x64\Repackager.exe" /NoUI /SetupPath "C:\AppPackagedSetup.exe" /ProductName "My App" /ProductCompany "My Company" /OutputPath C:\Users\TestUser\Desktop\MSI
Note: The OutputPath folder exists

Could you please show me how could I successfully achieve repackaging a silent setup package using the Repackager CLI? Or at least why Repackager.exe only runs when no arguments are passed.
I'm using AI v16.5 Trial on a Windows 10 64 bit machine.

Thanks in advance.
FranB
Posts: 9
Joined: Mon Apr 08, 2019 12:41 pm

Re: Repackager not running silently via command line

In the same subject: Does "Repackager.exe" write to a log file when it's run? I can see that "Repackager.exe" process shows up for a second and then goes away. Maybe it's complaining about any syntax error.
If there existed a detailed log file like that I might not have any problems.
FranB
Posts: 9
Joined: Mon Apr 08, 2019 12:41 pm

Re: Repackager not running silently via command line

Never mind. I looked up in the "Bin" folder and there's a RepackagerCLI.exe.

Maybe you should consider updating your documentation. It might confuse people.
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Repackager not running silently via command line

Hello,

Indeed, as you have mentioned, the RepackagerCLI.exe should be used when running the repackager from the command line.

It seems that somehow we did not update that article. Please accept my apologies for the inconvenience.

I have now forwarded this to our Technical Writing team and we will update it, so it doesn't create any confusion for further users facing a similar scenario.

Thank you for bringing this to our attention.

If there is anything else I could help you with, please let me know and I will gladly assist.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”