You are here

How to specify default installation folder?

7 posts / 0 new
Last post
Atilla
Offline
Last seen: 11 years 4 months ago
Joined: 2013-12-16 14:03
How to specify default installation folder?

I've created an installation package using the PortableApps Installer.

But when I start the package, it wants to install to the same folder where original files were stored, which is in my development folder on partition D.

How do I tell PortableApps Installer to use a different folder (for example: C:\MyApp)? Couldn't find a value that specifies default installation folder in the installer.ini file.

Simeon
Simeon's picture
Offline
Last seen: 10 years 6 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
You can not

If you run the installer and it detects a PortaeblApps installation in X:/PortableApps, it will put X:/PortableApps/WhateverApplicationNamePortable as the installation folder. Otherwise it will use the folder you suggested (I think its the relative parent folder from where you run it from.

Reason behind this is to make it easy to install it to the standard folder but let the user specify a different folder too if they wish to install it there.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Atilla
Offline
Last seen: 11 years 4 months ago
Joined: 2013-12-16 14:03
Kidding?

With all the possible and impossible options in the INSTALLER.INI, this important value is missing? One has to shuffle files around instead of just changing one line in the INI file? Hard to believe.

Ken Herbert
Ken Herbert's picture
Offline
Last seen: 6 hours 17 min ago
DeveloperModerator
Joined: 2010-05-25 18:19
Not as important as you think

The installers are made to automatically detect and install to the PortableApps Platform's location, if the Platform is not present then it is up to the user to decide where it goes.

It is not up to the developer to tell users where their PortableApps are going to install. Also, people used to working with zip-based portable software work like this anyway - you unzip it to the current folder, or you set the path when you unzip it - it is the same with our installers.

Even if there were an option to set a default install location, where would you set it to? %PROGRAMFILES% is out - we block installing to and running from there because a number of apps break their portability when run from there. Anywhere in the User folder or on the desktop has in the past caused issues with certain apps being unable to handle paths that were that long.

Simeon
Simeon's picture
Offline
Last seen: 10 years 6 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
shuffle files around?

What do you mean by that?

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Atilla
Offline
Last seen: 11 years 4 months ago
Joined: 2013-12-16 14:03
I reinstalled the platform

I reinstalled the platform and now everything works fine.

Simeon
Simeon's picture
Offline
Last seen: 10 years 6 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
thats nice

to hear.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Log in or register to post comments