You are here

Creating Portable App: Simple Shop (invoice software)

10 posts / 0 new
Last post
simpleshop
Offline
Last seen: 7 years 11 months ago
Joined: 2010-07-29 13:19
Creating Portable App: Simple Shop (invoice software)

I'm willing to donate to person, who would create portable app for our software Simple Shop (http://www.simple-shop.si/en/).

Our goal is to share application via USB stick.

If anybody can do this for us or help us please report me back.

Software download link:
http://www.simple-shop.si/prenos/SShop.exe
Software requirement:
Microsoft .NET Framework 3.5 SP1

Thank you...

simpleshop
Offline
Last seen: 7 years 11 months ago
Joined: 2010-07-29 13:19
Need help

I tried everything but no success..

Firstly, I install software on computer, so installed files are at:
C:\SShop
folder.

Then I install on USB stick:
+PortableApps.comInstaller
+PortableApps.comLauncher
+PortableApps
+NSISPortable
+PortableApps.comAppCompactor

then I create:
+SimpleShopPortable
+App
+AppInfo
+FileTypeIcons
+Launcher
Splash.jpg
appicon.ico
appinfo.ini
+DefaultData

then I edit file appinfo.ini:
*******************************************************
[Format]
Type=PortableApps.comFormat
Version=3.0

[Details]
Name=Simple Shop Portable
AppID=SimpleShopPortable
Publisher=RED ZION d.o.o. & PortableApps.com
Homepage=PortableApps.com/SimpleShopPortable
Category=Utilities
Description=Simple Shop Portable is a Point of Sale & A4 invoice software.
Language=Multilingual
Trademarks=Simple Shop
InstallType=

[License]
Shareable=true
OpenSource=true
Freeware=true
CommercialUse=true
EULAVersion=1

[Version]
PackageVersion=1.9.9.901
DisplayVersion=1.9.9.901

[SpecialPaths]
Plugins=NONE

[Dependencies]
UsesGhostscript=optional
UsesJava=no
UsesDotNetVersion=3.5SP1

[Control]
Icons=1
Start=SShop.exe
ExtractIcon=App\SimpleShop\SShop.exe

[Source]
IncludeInstallerSource=false

[MainDirectories]
RemoveAppDirectory=false
RemoveDataDirectory=false
RemoveOtherDirectory=false

[Languages]
ENGLISH=true
ALBANIAN=true
ARABIC=true
ARMENIAN=true
CROATIAN=true
GERMAN=true
RUSSIAN=true
SERBIAN=true
SERBIANLATIN=true
SLOVENIAN=true
*******************************************************

After that I use:
PortableApps.comInstaller.exe
from USB stick.
And the software installation is made (SimpleShopPortable_1.9.9.901.paf.exe). At first thing it looks OK (only the file size is quite small, insteed 90MB it is only 10MB), but when I install this software into X:\PortableApps\SimpleShopPortable\
I see, that there is only installed .EXE files, with no .DLL's, database (.SDF) and other must present files to work program as should it..

So where do I make mistake, so that installer do not use all project (software) files, but only .EXE.

Thank you for your help...

darksabre76
darksabre76's picture
Offline
Last seen: 2 weeks 2 days ago
Developer
Joined: 2011-04-19 23:28
Assistance

I'm trying to decipher your folder structure to see what could have happened. In general, you'll have:

SimpleShopPortable/
  - App/
    - AppInfo/
      - Launcher/
        - SimpleShopPortable.ini
        - Splash.jpg
      - appicon.ico
      - appicon_16.png
      - appicon_32.png
      - appicon_64.png
      - AppInfo.ini
      - EULA.txt
      - installer.ini
    - DefaultData/
    - SShop/
  - Other/
  - help.html
  - SimpleShopPortable.exe

DefaultData is only necessary when there are folders or files that need to be pre-created for things like preferences.

The appicon_xxx.png can go up to 256 (in powers of 2).

Your AppInfo.ini file looks okay, except you don't need the "ExtractIcon" (as long as the appicon.ico and appicon_xxx.png files are there) and "Start" has to be SimpleShopPortable.exe.
You should change the values under "[License]" to match your application.
Both "[SpecialPaths]" and "[Source]" sections can be removed.

The only other problems that could be posed are in the App/AppInfo/Launcher/SimpleShopPortable.ini file. This controls how the program is run and is called by SimpleShopPortable.exe (which is created by the PortableApps.comLauncher based on appinfo.ini). For more information on that file, look here.

Hopefully this points you in the right direction.

P.S. If you want to have the preformatted blocks of text like I have above, just use <pre> and </pre> around it. This will be useful for configuration files and file structures since it is easier to read.

simpleshop
Offline
Last seen: 7 years 11 months ago
Joined: 2010-07-29 13:19
thank you..

I will try that and report it back..
Also I found some help at:
https://portableapps.com/node/29406

simpleshop
Offline
Last seen: 7 years 11 months ago
Joined: 2010-07-29 13:19
SimpleShopPortable.ini

Yes, now all is working but remains only one problem.

PAL do job as should it, so all files are included. Also, Launcher do it's job.

But the problem is still in SimpleShopPortable.ini.

When I run app via Windows Explorer (Shell32) (so, I go to X:\SimpleShopPortable\App\SimpleShopPortable) and run SShop.exe (software startup .EXE) it's all working as should. But when I run via SimpleShopPortable.exe (X:\SimpleShopPortable) software crash after splash screen.

Do you have any idea, what is the problem?

[Launch]
ProgramExecutable=SimpleShopPortable\SShop.exe
MinOS=XP
LaunchAppAfterSplash=true
simpleshop
Offline
Last seen: 7 years 11 months ago
Joined: 2010-07-29 13:19
Working

OK...

Now after some testing etc... app is working as should..

SimpleShopPortable.ini

[Launch]
ProgramExecutable=SimpleShopPortable\SShop.exe
MinOS=XP
LaunchAppAfterSplash=true
RunAsAdmin=try
WorkingDirectory=%PAL:AppDir%\SimpleShopPortable

So now what.. what is the next step, do I publish somewhere AppName.paf.exe for public testing etc?

Thank you for support...

simpleshop
Offline
Last seen: 7 years 11 months ago
Joined: 2010-07-29 13:19
First public preview

First beta public release:
http://www.simple-shop.si/prenos/SimpleShopPortable_1.9.9.901.paf.exe

Publisher: RED ZION d.o.o. & PortableApps.com
Date Released: 2013-10-01
System Requirements: Microsoft .NET Framework 3.5 SP1, Windows XP/Vista/7/8/Wine (Ubuntu)
License: Freeware
Source Code: /
MD5 Hash: /
STATUS: Beta (first public release)

Universal business software for invoicing, quotes or tickets through A4 and POS printers and adoption of RFID (NFC) cards and access control & time and attendance of working time - all in one software package.

simpleshop
Offline
Last seen: 7 years 11 months ago
Joined: 2010-07-29 13:19
Moved
jxwhite
Offline
Last seen: 10 years 9 months ago
Joined: 2013-10-09 14:24
simple shop

i have created a portable version of this software using vmware thinapp
you can email me for more info
jx.wyte@gmail.com

John T. Haller
John T. Haller's picture
Offline
Last seen: 20 hours 55 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Not Here

This app was already completed by the publisher in proper portable format. We don't permit Thinapp packages here as most are illegal.

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

Log in or register to post comments