PortableApps.com Platform and Suite 1.6 have been released.

Invalid command: FindProcDLL::FindProc

Submitted by Onilink on April 6, 2009 - 4:43am

Hey,

The StepMania team has released a new update to the software which includes a portable mode that writes all data to the install directory instead of my documents. I decided to try and create a PortableApps wrapper but when trying to compile the NSIS script, I get the following error:

Invalid command: FindProcDLL::FindProc
Error in script "C:\Documents and Settings\Karai\Desktop\StepManiaPortable\Other\Source\PortableApps.comInstaller.nsi" on line 610 -- aborting creation process

For a complete log, go here:

http://pastebin.com/m2bcf6648

Any ideas on what is causing this?


( categories: )

you missing the nsis plugins

you missing the nsis plugins for that here is the link for it http://nsis.sourceforge.net/mediawiki/images/5/53/KillProcDll%26FindProc...

I'm sold! Anything that can compute and warm my coffee is total awesome. - OliverK

Awesome! I got it to compile

Awesome!

I got it to compile but I noticed that every app I have installed has an exe in the root of the portable app directory... Does that exe point to the main exe in the application directory? How do I create that exe? D:

Application Structure 101

Application Structure 101 Sticking out tongue

-\ <--- Directory with APPPortable.exe (APP being the name of the application)
+\App\
+\APP\APP.exe
+\Data\
+\settings\

hope this was helpful, it's a small guide in the structure of the apps in PortableApps.com Smiling just respond to this is you need anything else answered

I'm sold! Anything that can compute and warm my coffee is total awesome. - OliverK

I know how the directory

I know how the directory structure is set up, but I don't understand where the APPPortable.exe comes from. Like, stepmania.exe is in \app\stepmania\program\, just like notepad++.exe (the model I am basing my structure off of) is in \app\notepad++\

Where does \Notepad++Portable.exe come from, and how do I create \StepManiaPortable.exe? :V

Open up the nsi script in a

Open up the nsi script in a text editor like notepad and find all words related to Noetpad++ and rename it to StepMania

I'm sold! Anything that can compute and warm my coffee is total awesome. - OliverK

What I am not following is

What I am not following is where does the executable file in the root come from? If the program executable is in the \App\AppName\ directory, where does \AppNamePortable.exe come from,l how is it built? When I run the exe on root, it brings up a splash logo, then loads the actual program.

I've gone through my nsi script and I can't find anything in there that seems to be broken or missing...

Humor me rename all in the

Humor me rename all in the script (when opened in notepad) to StepMania and recompile the script and tell me the results and then you will see what I was trying to tell you

I'm sold! Anything that can compute and warm my coffee is total awesome. - OliverK

Where can I download a non

Where can I download a non compiled copy? The source files are different in the compiled notepad++ than from the package I downloaded from the dev site. D:

The source files on sourceforge don't include the packager.

What it basically does is

What it basically does is make the app portable. The exact function differs from app to app, but without this the program will not be portable. For example, for some app, it will backup/restore all registry settings the app uses thus making sure no settings are left behind. The source for the APPPortable.exe is in the Other/Source/ directory of the app, and is usually named "APPPortable.nsi". Just copying the one from notepad++ and changing a few names will NOT work, the APPPortable.nsi (and thus also the APPPortable.exe) is different from each app.

Behold, the DutchLander has arrived.
Grammatical errors are copyrighted.

And how do I create this

And how do I create this file? I don't see any tutorials or what not about it...

http://portableapps.com/node/

http://portableapps.com/node/14868
That explains everything thoroughly enough. It won't be easy though Eye-wink

Behold, the DutchLander has arrived.
Grammatical errors are copyrighted.

That doesn't really help much

That doesn't really help much :\ It doesn't tell me HOW to make that exe file ._. All i need it to do is point to the main stepmania.exe file in \App\stepmania\program\. StepMania doesn't deal with the registry and using the new portable mode, all the data gets saved to \stepmania\portable\. What I am basically trying to do is create a wrapper for PortableApps.

tl;dr: How do I CREATE the StepManiaPortable.exe file that sits on the root?

edit: I guess to summarize my question further: How do I create the launcher. :|

The guide does tell

The guide does tell everything needed to create a that .exe, see point 12 and 13. However, if your app needs nothing to make it portable, you can use a easier method.
http://portableapps.com/support/portable_apps_suite#addingapps - second paragraph.

Behold, the DutchLander has arrived.
Grammatical errors are copyrighted.

Shortcut

What you're looking more to do is create a shortcut launcher. Our launchers do all sorts of stuff like move files, update paths in config files, pass command line options, etc. It looks like all you're trying to do is create a shortcut that launches it from the root. If all you're trying to do this for is to get it to work in the PortableApps.com Menu, you can just use an INI file. Create a directory called AppInfo within the App directory. In there, save a copy of the stepmania icon as appicon.ico. And create a file called appinfo.ini and base it on the ones in our other apps using info for StepMania. In the Start= line at the end, change it to read Start=App\stepmania\program\stepmania.exe and it'll work.

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

I changed the Start= to point

I changed the Start= to point to the exe but it's still not showing up in the menu... the appinfo.ini is in \App\AppInfo\, should something be on the root to show up in the menu?

Post It

Post your appinfo.ini file

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

Menu Version

You sure you're using version 1.5 or later of the PortableApps.com Platform/Menu?

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

I was using 1.0 ._. It works

I was using 1.0 ._. It works now. Smiling Thanks!