Customize the location uncompressing the xxxxx.tmp file ?

157 views
Skip to first unread message

Umberto Colapicchioni

unread,
Oct 10, 2022, 7:16:01 AM10/10/22
to innosetup
I'm asking this, because if the setup needs to download something ( using IDP plugin, for example ), since it's being executed from the %TEMP% folder as a setup.TMP file, it makes difficult to create a firewall exception for it to allow it to proceed with the download, since the path to the executable will always be different at every startup.

I understand this might be fixed by setting UseSetupLdr to No, but that would result in multiple files being created and I need to use SIgnTool to sign the setup, so that's not an option.

Is it possible to specify a fixed custom location to decompress the setup ?

Gavin Lambert

unread,
Oct 10, 2022, 5:52:54 PM10/10/22
to inno...@googlegroups.com
On 11/10/2022 00:16, Umberto Colapicchioni wrote:
> I'm asking this, because if the setup needs to download something (
> using IDP plugin, for example ), since it's being executed from the
> %TEMP% folder as a setup.TMP file, it makes difficult to create a
> firewall exception for it to allow it to proceed with the download,
> since the path to the executable will always be different at every startup.

Firewalls are not typically configured to prevent outgoing connections,
which is what that is. So usually no firewall changes are needed.

> Is it possible to specify a fixed custom location to decompress the setup ?

There is not currently any option for that.

Umberto Colapicchioni

unread,
Oct 11, 2022, 6:06:59 AM10/11/22
to innosetup
Firewalls are not typically configured to prevent outgoing connections,
which is what that is. So usually no firewall changes are needed.

Sure, but some users of our product said they configured the firewall to be more restrictive, and they are complaining our software is at fault, because by uncompressing itself each time in a different random folder, it makes impossible for them to create a firewall rule that will allow to download whatever it needs to download when it starts.

Users being users, they claim ours is the "only" installer in the world that has this "problem", when of course uncompressing in a random folder is the standard for installers so, I guess with the firewall configured that way, they would have the same issues with any other installer that downloads something.
 

There is not currently any option for that.

Too bad, but I understand it was a fringe case.
 

David Hollman

unread,
Oct 11, 2022, 7:26:37 AM10/11/22
to innosetup
One suggestion is to install a separate program which will perform the download. It could go into a standard location with a standard name. And then your installer can delete it when it is finished.

Another approach would be to perform whatever the download is before building your installer, though that may not meet your requirements.

Reply all
Reply to author
Forward
0 new messages