Page 1 of 1

[SOLVED] Strange pyscripter behavior

Published: May 7, 2019 - 4:56 PM
by Arsgunner
Hello,

I'm experiencing strange behavior with my PyScripter installation using Inno Setup.

I have an `install_exe_if_needed` command with the silent flags `/dir="mydirectory" /verysilent /suppressmsgboxes`.
If I leave it as is, the installer crashes immediately.
If I change it to `/verysilent /suppressmsgboxes /dir="mydirectory"`, it installs in... `c:\suppressmsgboxes`.

I apparently have the latest version of PyScripter.
If anyone has any ideas, I'd appreciate it.

Thanks in advance.

Re: Strange pyscripter behavior

Published: May 9, 2019 - 7:16 PM
by dcardon
Good evening Arsgunner,
Arsgunner wrote: May 7, 2019 - 4:56 PM I'm experiencing strange behavior with my PyScripter using an Inno Setup installer.

I have an `install_exe_if_needed` command with `silentflags '/dir="mydirectory" /verysilent /suppressmsgboxes'`.
If I leave it like that, the installer crashes immediately.
If I change it to `/verysilent /suppressmsgboxes /dir="mydirectory"`, then it installs in... `c:\suppressmsgboxes`.

I apparently have the latest version of PyScripter.
If anyone has any ideas, I'd appreciate it.
Could you please check the command line in a cmd.exe window to verify that the settings are working correctly? Your installer might not be behaving according to the innosetup specifications. You can also reuse the line in question in a run() function if needed.

Sincerely,

Denis

Re: Strange pyscripter behavior

Published: May 13, 2019 - 11:24
by Arsgunner
Hello,

indeed the command line doesn't work from cmd either.
I'm so used to not having any problems with these installers that I didn't think the issue could be there.

I'll manage to find another solution, thank you.