Portable version of Inno Setup package

250 views
Skip to first unread message

Jakov Smith

unread,
May 19, 2021, 7:08:51 AM5/19/21
to innosetup
Hi All 
Please I have a set of apps created by inno setup compiler by someone
how I can or how to create a batch file in order to extract a portable version of created app

I tested this code, but no result
AppName.exe /portable=1 /silent /currentuser  
it always create standard installation

Thanks

Bill Stewart

unread,
May 19, 2021, 10:24:14 AM5/19/21
to innosetup
See the documentation for command-line parameters:


(Hint: Is there a "/PORTABLE" documented there?)

Bill

Martijn Laan

unread,
May 19, 2021, 10:59:35 AM5/19/21
to inno...@googlegroups.com
This bit in the help file is about Inno Setup's own installers as it says.

To get the same in your installer you need to add the same code. See https://raw.githubusercontent.com/jrsoftware/issrc/main/setup.iss and https://raw.githubusercontent.com/jrsoftware/issrc/main/isportable.iss

Greetings,
Martijn Laan
Message has been deleted

Jakov Smith

unread,
May 19, 2021, 3:41:13 PM5/19/21
to innosetup
My bro I have the exe file and I can not edit the code
Do you want the exe files in order to test it by yourself?

Bill Stewart

unread,
May 19, 2021, 4:34:54 PM5/19/21
to innosetup
On Wednesday, May 19, 2021 at 1:41:13 PM UTC-6 id4r...@gmail.com wrote:

My bro I have the exe file and I can not edit the code
Do you want the exe files in order to test it by yourself?

If the installers you have don't have a portable install mode, you need to ask whoever produced the installers to make it an option for you.

Bill

Gavin Lambert

unread,
May 19, 2021, 8:03:39 PM5/19/21
to inno...@googlegroups.com
On 19/05/2021 11:08 pm, Jakov Smith wrote:
> Please I have a set of apps created by inno setup compiler by someone
> how I can or how to create a batch file in order to extract a portable
> version of created app

An application (and its installer) need to be designed to expect
portable installation; you can't force it on it.

You will need to contact the developers of the application in question
and ask them to add a portable mode. It might not even be possible,
depending on how the application currently works.
Message has been deleted

Jakov Smith

unread,
May 20, 2021, 4:24:49 AM5/20/21
to innosetup
Thanks my bro for these information
I will contact with him
Thanks
Reply all
Reply to author
Forward
0 new messages