You are here

Launchergenerator creates crashing files *fixed*

12 posts / 0 new
Last post
masterofthewind
Offline
Last seen: 13 years 8 months ago
Joined: 2010-08-19 13:49
Launchergenerator creates crashing files *fixed*

Hi, I'm new here, and I want to get my development environment portable.
At beginning I wanted to make some "easy" apps portable. For example K-Meleon, CCleaner. So I wrote some easy "launcher.ini" and named them CCleanerPortable.ini and so on. The PortableApps Launcher Generator generated me the required Launcher files. But starting them don't work. They crash immediatly with the error:

.../local settings/Temp/nsa21F.tmp/launcher.ini not found.

I have no idea why. Please help.

Solution: PackageVersion in Appinfo.ini has to be like 1.2.3.4.
https://portableapps.com/development/portableapps.com_format

Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 2 weeks ago
Developer
Joined: 2008-09-30 19:18
lets see the INI

copy and paste it here so we can take a look at it.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 10 months ago
Joined: 2007-04-15 21:08
Make sure the names match

Make sure that the AppNamePortable.exe and App\AppInfo\Launcher\AppNamePortable.ini match, and that you have the latter in the correct directory.

The error message is more useful after 2.0.

Also from a practicality perspective consider whether you need it (you may be doing it just to work out how to do it, which is fine). There are already portable versions of K-Meleon and CCleaner around.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

masterofthewind
Offline
Last seen: 13 years 8 months ago
Joined: 2010-08-19 13:49
the names match

hi, thanks for your replies.
My ini is: PortableApps\CCleanerPortable\App\AppInfo\CCleanerPortable.ini

[Launch]
AppName=CCleaner
ProgrammExecutable=CCleaner.exe
SinglePortableAppInstance=true

and PortableApps\CCleanerPortable\App\AppInfo\appinfo.ini

[Format]
Type=PortableAppsFormat
Version=2.0

[Details]
Name=CCleaner Portable
AppId=CCleanerPortable
Publisher=Piriform & PortableApps.com
Homepage=piriform.com/ccleaner/builds
Category=Utilities
Description=Optimization and Cleaning
Language=Multilingual

[License]
Shareable=false
OpenSource=false
Freeware=true
CommercialUse=false

[Version]
PackageVersion=2.3.4
DisplayVersion=2.3.4

[Control]
Icons=1
Start=CCleanerPortable.exe

That's ist.

The generated launcher is: PortableApps\CCleanerPortable\CCleanerPortable.exe

I really thinks there isn't a mistake.

Chris Morgan
Chris Morgan's picture
Offline
Last seen: 8 years 10 months ago
Joined: 2007-04-15 21:08
Wrong

You have the wrong directory name; CCleanerPortable.ini should be in App\AppInfo\Launcher.

I am a Christian and a developer and moderator here.

“A soft answer turns away wrath, but a harsh word stirs up anger.” – Proverbs 15:1

masterofthewind
Offline
Last seen: 13 years 8 months ago
Joined: 2010-08-19 13:49
not wrong sry

sry I wrote a mistake. CCleanerPortable.ini IS in App\AppInfo\Launcher

John T. Haller
John T. Haller's picture
Online
Last seen: 27 min 30 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
ProgrammExecutable

ProgrammExecutable should be ProgramExecutable

Sometimes, the impossible can become possible, if you're awesome!

masterofthewind
Offline
Last seen: 13 years 8 months ago
Joined: 2010-08-19 13:49
Still same error

Hi i fixed this mistake, but there is still the same error

John T. Haller
John T. Haller's picture
Online
Last seen: 27 min 30 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
PackageVersion

PackageVersion is wrong. It needs to be 4 digits separated by decimals, not 3.

Sometimes, the impossible can become possible, if you're awesome!

masterofthewind
Offline
Last seen: 13 years 8 months ago
Joined: 2010-08-19 13:49
PackageVersion

I fixed it, but the error still occurs. But thanks a lot for your support

masterofthewind
Offline
Last seen: 13 years 8 months ago
Joined: 2010-08-19 13:49
Fixed

thanks a lot, the PackageVersion Number was the problem like John wrote. Now the first step is done. thx

Pyromaniac
Pyromaniac's picture
Offline
Last seen: 9 years 2 weeks ago
Developer
Joined: 2008-09-30 19:18
great!

glad I could help. Blum

Log in or register to post comments