You are here

Portable App Development

Discuss portable app development and modification of existing apps.

Only delete the myappPortable symlink when uninstall

Submitted by Mark888 on September 28, 2022 - 11:39am

Hello,
I have myAppPortable symlink (directory symlink) placed under PortableApps folder.
When I choose uninstal myApp from PortableApps platform, it deletes the contents (files and folders) inside the symlink directory.

Not sure if it is a bug.
But please when uninstall myApp, only delete the symlink, not the contents. Or provide option to only delete symlink.
Should also take care of other symlinks if any present in myAppPortable.

Take certain actions based on the number of NSIS instances running

Submitted by SimonGeek on September 1, 2022 - 4:57am

Hi, I am trying to take certain actions based on the number of NSIS instances running.
The main reason is that if there are two instances of the same executable the data created is overwritten

I asked in the NSIS forum but the code provided doesn't work. I wanted to put the code in multiple sections, the one provided by the NSIS forun can only be used once.

If there is only one instance does it perform an action, if there are two or more does it perform another

QEMU or VirtualBox?

portablepro's picture
Submitted by portablepro on August 16, 2022 - 8:18pm

Which is your favorite? Especially via been portable?

Sorry I forgot to mention that both Softwares are available in a "portable format"

Qemu does by definition to be portable - VirtualBox still trying to only be installed, but told to
be installed portable by no ways.

HTH

Different executables for different Windows versions?

Submitted by Fayne Aldan on August 14, 2022 - 4:40pm

Hello. I want to make my portable app change ProgramExecutable based on the version of Windows. I tried to this in Custom.nsh:

${SegmentFile}

${SegmentInit}
    ${If} ${AtLeastWin110}
        ${SetEnvironmentVariablesPath} FullAppDir $AppDirectory\PolyMC
    ${Else}
        ${SetEnvironmentVariablesPath} FullAppDir $AppDirectory\Legacy
    ${EndIf}
!macroend

But it seems I can't use the environment variable in ProgramExecutable. Any idea how I'd accomplish this? Thanks.

Help with creating a PortableApps version of Tabby

Submitted by wolfferine on August 5, 2022 - 4:12am

Hi,

I am new at this, and so would very much appreciate the help from the community - i am trying to create a portableapps (paf) version of Tabby.
I created the appinfo.ini:


[Format]
Type=PortableAppsFormat
Version=3.7

[Details]
Name=Tabby PortableApps
AppId=TabbyPortable
Publisher=Wolfferine
Homepage=
Donate=
Category=Internet
Description=Tabby - a terminal for the modern age
Language=Multilingual

NSIS Script launcher & Open with

Submitted by SimonGeek on July 27, 2022 - 12:34pm

Hi, I'm trying to create an NSIS compiled executable that selecting it from the "open with" choices opens the designated file in a specific executable. Basically a sort of launcher similar to the PA.c launcher but without including any code belonging to it. I noticed that the PA.c Template has "FileTypeCommandLine" and "FileTypeCommandLine-extension", is it possible to implement such a thing in a .nsi script?

I explain better

EXAMPLE:

Newbie Question: Can you create portable apps inside a virtual machine?

Submitted by Ryan1 on June 29, 2022 - 4:01pm

Everything I have read online says that you should start with a "clean install" of the OS in order to begin to create a portable app.

I understand the reasons why, but obviously this is not necessarily an easy thing to do for a normal user.

So my question is can you use something like VMware to create a virtual machine with a freshly installed OS and create a portable app on a computer that is not a fresh install?

If so:

How to compile the start program? And what IDE is used?

Submitted by sy373466062 on June 28, 2022 - 3:36am

I download the start(PortableAppsStartSource21.2.2.7z) source code from SF, and want to modify and customize it.
It seems the code is in Pascal, and I installed the Lazarus IDE, but it doesn't know the source code project.

What is the IDE is used to compile the code? Any guide to build it?

Pages