I made custom module for SugarCRM and all is working fine, but I found that after using SugarCRM module loader to load my module, some files, which has many lines of code are corrupted after copying.
For example .js files with more than 3000 lines appeared only with 2600 lines.
I am looking for your advice! Thanks!
Related
We are looking for an approach to extract our application JARs and resources from an EXE installer built with install4j. We are trying to automate installers testing though without actual installation - we want to run our application main JAR unpacked from an installer.
With help of PE file format parser https://github.com/kichik/pecoff4j I've found the major part of content is placed in some kind of preamble of an image. The same entry with the same size is shown when I opened the installer in 7-Zip:
But the format of the entry is unknown to 7-Zip and I can't to go deeper. When I opened the entry in a hex editor I found some of the application resources content, classes names, etc.
The question is - what is a format of the entry and how can I parse it?
P.S.: It seems there should be no issues with DMG for Apple and SH for Linux - as they are regular archives and I hope I can read them in my Java code.
This is not a documented format, it is internal to the installer. You could build an additional Windows ZIP archive media file and extract that. It will have the same contents as the installer.
I'm working latest CGI module (version 4.3+) and when I try to create CGI:: Session objects in a pl file, it's throwing error saying Session.pm file not present. As it said Session.pm file is not existing in #INC. How come file missed and is there any fix for this.
Looks like CGI::Session isn't installed on your system. It's a separate distribution to CGI, so it needs to be installed separately.
Dear all I try to get XML RPC running on Bugzilla. I installed all perl modules what has been described by mozilla. but when I like to access the perl cgi script http://localhost:8010/xmlrpc.cgi I get the following error.
Can't load 'C:/Strawberry/perl/vendor/lib/auto/XML/Parser/Expat/Expat.xs.dll' for module XML::Parser::Expat: load_file:the requested modul get not found at C:/Strawberry/perl/lib/DynaLoader.pm line 193.
I verified the mentioned dll file is existign at the place C:/Strawberry/perl/vendor/lib/auto/XML/Parser/Expat/Expat.xs.dll. Here I assume the dll may require other dependent dll and other perl modules. Apache log file does not show me any additional information.
Any hint what I can do?
I am using
Strawberry Perl v5.22.1 (64bit)
Bugzilla v4.4.11
Apache v2.4
Windows 10
I opened a bug on the mozilla page for bugzilla https://bugzilla.mozilla.org/show_bug.cgi?id=1240367
The support answered me that strawberry is not supported for bugzilla v4.4 however I could solve the problem by copying the C:\Strawberry\c\bin\libexpat-1__.dll to C:\Strawberry\perl\vendor\lib\auto\XML\Parser\Expat\libexpat-1__.dll (same directory as Expat.xs.dll is located). After that the XML Parser stuff and Expat.xs.dll could be executed properly.
May be it helps for others. Regards
I think the right answer should be:
add the folders
C:\{PerlFolder}\c\bin\
C:\{PerlFolder}\perl\bin
to the path under environment variables.
where {PerlFolder} in your case is "Strawberry"
same pb, solved by adding perl\bin in path
I’m looking for a way to deploy a system DLL within my ActiveX CAB file. CAB cannot update system file and whole installation fails. Perfectly, I would like to copy the DLL into ActiveX installation folder.
My best suggestion (I didn’t try it yet) is using INF file hooks with some standalone installer, but I wonder is there another way?
Any other ideas will be appreciated…
Pack your dll in as a resource of the main ActiveX control. Use your own code to write it to a file.
The malware industry has lots of experience doing this, and example code should be available.
You can install the dll into the ActiveX installation folder and dynamically load the dll (using LoadLibrary) and its methods (using GetProcAddress).
This way you will be able to control from where to load the dll and use your local copy instead of the system.
I need to make installation file (.exe), but is that possible with batch script and how?
I made installation with some software (Deployment...) but I need to do that with script. I have all necessary files for my installation.
Is that possible?
Marko
Virtually every tool for building installation packages provides ability to include arbitrary sripts to the installation process. Just inspect your tool for this capability...
Here, we often include sripts in our WIX installations. Of course, user expirience is better when you building installation package nativelly, but in some cases this is acceptable practice (mostly when there is no non-tech users planned).
With a batch script, you will not be able to make a .exe (unless you call a .exe creator from within the batch script!). Why not try Inno Setup or NSIS? ISTool helps in creating Inno Setup scripts with ease and speed.
You can't make an .exe using nothing but a batch script. You can however use a batch script to create the installation specification file(s) and then run that file through an installer creator program like the ones mentioned in the other answers here. Perhaps you could be a bit clearer about what you actually need to do?