You are here

Portable App Development

Discuss portable app development and modification of existing apps.

Custom Code to get Refresh Rate?

Submitted by enzeinzen on June 16, 2019 - 8:03pm

Hi, I'm using the following code to get the display height and width:

${SegmentFile}

${SegmentInit}
System::Call user32::GetSystemMetrics(i0)i.r0
System::Call user32::GetSystemMetrics(i1)i.r1

${SetEnvironmentVariable} ScreenWidth $0
${SetEnvironmentVariable} ScreenHeight $1
!macroend

However, I really need the screen refresh rate as well. I have no idea how to incorporate win32 functions into NSIS. Can you help me?
Thanks.

[Solved] Portable apps with MSI installer

Makazzz's picture
Submitted by Makazzz on June 15, 2019 - 3:54pm

Is it possible to create an app with 2 download of a msi extension and then say to the installation to install directly to the App\AppName folder and App\AppName64 with the installer.ini? I am trying to create an app portable but I can't just extract it because its give me random file for the installer itself and not for the app (because the msi need to be launch and extract the app itself). I need to to this because of the EULA.

EDIT: Finally I found a way with a .nsh file and Rename command.

[Solved] VSCodium data directory

Makazzz's picture
Submitted by Makazzz on June 9, 2019 - 1:30pm

I am currently creating the 1.35.0 version of VSCodium in the portable app format but I have a problem;

It was proposed that I use the build in portable mode and the problem is that I have a error when I install on a VSCodium already installed and with only this in my installer.ini;

[FilesToPreserve]
PreserveFile1=App\VSCodium\data\user-data\User\settings.json

Admin rights

Submitted by Gaber on June 6, 2019 - 12:58pm

Hi,

I'm tryng to move a file to Windows/SysWOW64

How can I do?

Have I to manage admin rights? How?

How is the path? WinDir or have I to use the normal path (C:\Windows\SysWOW64 ecc)?

Thanks.

Error moving application

Submitted by Gaber on June 4, 2019 - 6:10am

Hi,

I'm trying to portabilize an app.
The program works fine, but if I move it to other location, show this error:

The path to MyApp has changed, since it was last started, from MyOldPath to MyNewPath.
Moving portable apps like this is not advised, and some features may not work. Are you sure you want continue?

Why? If I donwload from internet a program and move that, the error not appair...

Thanks.

Comments

Submitted by Gaber on June 3, 2019 - 10:16am

Hi,

I have a problem...

I can't find the symbol for comments.
In every examples the comments are missing.

Is there a way to add comments in code?

Thanks

NSIS Coding

Submitted by Gaber on June 3, 2019 - 9:16am

Hi,

I have a COMPLETE code written in NSIS, so I haven't nothin to write in PortableApps syntax.

Can I compile MyApp.nsi with PA Launcher Generator?

How can I do? Is there a tutorial step by step?

Thanks

(I can't use makensis.exe because it loose the registry backup/restore, while Launcher Generator works fine...).

Jvm

Vokuar's picture
Submitted by Vokuar on June 1, 2019 - 12:42am

So im trying to figure out the feasibility of making a certain app portable
it uses java and i ran regshot to see what keys would of changed and there was a few
would it be better to use the portable apps java to run it instead
sorry if this is a simple question im new to all this

Pages