Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Eliminating the need to install application


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
8 replies to this topic

#1 Fara   Members   -  Reputation: 122

Like
0Likes
Like

Posted 31 March 2011 - 01:11 PM

Hi all,

I am relatively new in this forum, so accept my apology if I posted this question in the wrong thread.

I am Graduate student and I am developing Pre/Post processor for the Finite Element Method code, using C++ Builder 2007 and OpenGL.

I wanted to ask if anyone knows or can redirect me to the open source or free software which will hep to eliminate the need to install my software applications before running them. I already spend two days searching the web without any luck.


Something like this but without huge price tag.

Any advice would be appreciated.

Thanks in advance.

Sponsor:

#2 kdmiller3   Members   -  Reputation: 176

Like
0Likes
Like

Posted 31 March 2011 - 01:34 PM

You would only need an installer if your software requires special setup, or it modifies system-wide locations like the registry and Start menu or user-specific locations like AppData and you want to have it clean up after itself when uninstalled. If your application is completely self-contained within its folder and doesn't need to modify anything else, you could just distribute it in a zip file. I've run across plenty of utilities and indie games that work fine when extracted to an arbitrary directory, so that should be sufficient unless your application needs to do something complicated.

#3 Fara   Members   -  Reputation: 122

Like
0Likes
Like

Posted 31 March 2011 - 02:56 PM

Dear kdmiller3


Thanks for your reply but my software requires some packages to be installed in "C:\Windows\System32\" folder such as


"rtl100.bpl"
"tee7100.bpl"
"vcl100.bpl"
"vclx100.bpl"
"vcldb100.bpl"
"dbrtl100.bpl"


Since I am using C++ Builders VCL components. I tried to compile release version of my project by going to Project -> Options -> Packages, and un-checking "Build with runtime packages" but I get exception Access Violation message when I compile. My project runs completely fine in Debug Configuration, and I am 100% sure that I am not accessing anything which could through Access Violation during initial start of my program.

Also I will need to read and write some files while my program is running.

I guess my question is turning more C++ Builder specific but any help would be appreciated.

Thanks in advance.

#4 kdmiller3   Members   -  Reputation: 176

Like
0Likes
Like

Posted 31 March 2011 - 03:23 PM

Ah, I see.

You might not have to copy those to System32. Will your application run with those in the same folder as the executable? If that's the case, you could just package them up with the rest of your application. That assumes the C++ Builder license allows such things, but I don't see why it wouldn't.

Also, this may be relevant:
Project -> Options... -> Linker: Linking: uncheck "Use Dynamic RTL"

That will statically link the C/C++ runtime library so your executable no longer depends on an external DLL. (Your executable will be somewhat larger as a result.)

#5 ncite   Members   -  Reputation: 100

Like
0Likes
Like

Posted 31 March 2011 - 03:41 PM

You can also try installers like Inno or NSIS.

#6 Fara   Members   -  Reputation: 122

Like
0Likes
Like

Posted 31 March 2011 - 03:45 PM

Dear kdmiller3


Thanks for your fast reply.


My Project -> Options... -> Linker: Linking: is unchecked "Use Dynamic RTL" but I still have the same problem,


and no my program doesn't run with those packages in the same folder. As it states here "Runtime packages called by design packages must be located somewhere on your system's path."


I don't mind if my executable will be large as long as it could execute without need of additional packages.


I am getting very frustrated with C++ Builder I thought that deployment of your project would be somehow more documented.





#7 Fara   Members   -  Reputation: 122

Like
0Likes
Like

Posted 31 March 2011 - 03:50 PM

Dear ncite


Actually thats what I do right now but this requires Administrative access to the machine and not all the users have that. Which at the same time refutes the title of this topic "Eliminating the need to install the application". In some places it's even required that software would execute without installing and accessing registry.

#8 Antheus   Members   -  Reputation: 2397

Like
1Likes
Like

Posted 31 March 2011 - 03:55 PM

Google around for portable applications.

It doesn't eliminate download, but the application becomes a standalone executable and doesn't pollute local file system.

#9 Fara   Members   -  Reputation: 122

Like
0Likes
Like

Posted 04 April 2011 - 02:40 PM

Thanks for all your responses.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS