You are here

Invalid command: FindProcDLL::FindProc

20 posts / 0 new
Last post
Onilink
Offline
Last seen: 15 years 9 months ago
Joined: 2008-05-01 21:44
Invalid command: FindProcDLL::FindProc

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?

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 2 years 2 months ago
Developer
Joined: 2006-05-26 12:08
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...

your friendly neighbourhood moderator Zach Thibeau

Onilink
Offline
Last seen: 15 years 9 months ago
Joined: 2008-05-01 21:44
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:

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 2 years 2 months ago
Developer
Joined: 2006-05-26 12:08
Application Structure 101

Application Structure 101 Blum

-\

your friendly neighbourhood moderator Zach Thibeau

Onilink
Offline
Last seen: 15 years 9 months ago
Joined: 2008-05-01 21:44
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

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 2 years 2 months ago
Developer
Joined: 2006-05-26 12:08
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

your friendly neighbourhood moderator Zach Thibeau

Onilink
Offline
Last seen: 15 years 9 months ago
Joined: 2008-05-01 21:44
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...

Zach Thibeau
Zach Thibeau's picture
Offline
Last seen: 2 years 2 months ago
Developer
Joined: 2006-05-26 12:08
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

your friendly neighbourhood moderator Zach Thibeau

Onilink
Offline
Last seen: 15 years 9 months ago
Joined: 2008-05-01 21:44
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.

MaienM
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-12-18 04:35
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.

Onilink
Offline
Last seen: 15 years 9 months ago
Joined: 2008-05-01 21:44
And how do I create this

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

MaienM
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-12-18 04:35
http://portableapps.com/node/

https://portableapps.com/node/14868
That explains everything thoroughly enough. It won't be easy though Wink

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

Onilink
Offline
Last seen: 15 years 9 months ago
Joined: 2008-05-01 21:44
That doesn't really help much

That doesn't really help much Beee 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. :|

MaienM
Offline
Last seen: 2 years 9 months ago
Developer
Joined: 2007-12-18 04:35
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.
https://portableapps.com/support/portable_apps_suite#addingapps - second paragraph.

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

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 28 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
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!

Onilink
Offline
Last seen: 15 years 9 months ago
Joined: 2008-05-01 21:44
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?

John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 28 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Post It

Post your appinfo.ini file

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

Onilink
Offline
Last seen: 15 years 9 months ago
Joined: 2008-05-01 21:44
http://pastebin.com/m7946cd17
John T. Haller
John T. Haller's picture
Offline
Last seen: 3 hours 28 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
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!

Onilink
Offline
Last seen: 15 years 9 months ago
Joined: 2008-05-01 21:44
I was using 1.0 ._. It works

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

Log in or register to post comments