Re: re-pack-files.cmd

Xiaofan Chen <[email protected]> Sat, 22 Sep 2018 20:27:02 +0800
Newsgroups gmane.comp.lib.libusb.devel.windows
Message-ID <CAGjSPUCceszWSVju4t+QXt3H7262NgnJ-EH0xf4=5MMwzU3m6A@mail.gmail.com>
On Sat, Sep 22, 2018 at 3:02 AM diabolo via Libusb-win32-devel
<[email protected]> wrote:
>
> try unix2dos the cmd file
> also you need a quite old 7za with command line
> rgds

Yes you need an old version of 7zip. Please refer to previous answer by Travis.

-- 
Xiaofan



On Tue, Apr 10, 2018 at 6:02 AM Travis <[email protected]> wrote:
>
> Greetings,
>
> Well that's annoying.  Apparently 7zip changed their syntax a good long
> while ago.
>
> Thankfully, You can still get the one you need!  Get version 9.20.
> https://sourceforge.net/projects/sevenzip/files/7-Zip/9.20/
>
> Regards,
> Travis
>
> On 4/9/2018 12:43 PM, Rafael Send wrote:
> > Hi,
> > I'm attempting to use InfWizard to create an installer for a custom
> > USB device (this alone works fine), but I need it to be silent. To
> > that end I'm attempting to modify the dpinst.xml file with the silent
> > option (which also works on its own), but I can't repackage an installer.
> > The re-pack.cmd script always fails with a 7zip error ("-ai switch not
> > valid for this command").
> >
> > I've tried manually performing that step, but I have not been able to
> > repackage a working installer.
> >
> > Is this a known current bug?
> >
> > Cheers,
> > Rafael
> >