Jump to content

How to make CAB out of EXE file


Recommended Posts

Guest Sick_Energy
Posted

Hello,

Need some help.

I want to install a 2MB game on my C600 and it wount install because it says i have only 1.4 MB free on the phone.

But I have lots of space on the storage card where I want to install it.

I I have a CAB file I can copy it to storage card and when installing will choose to install on storage card, If I have an exe instalation program it will download automaticly to device where I dont have space.

How to solve this.

Please advice

Guest mandt
Posted

Hi,

When you run the .exe on your PC it stores the CAB ready to be copied to your phone next time you conect.

they're usually located in C\Program Files\Microsoft ActiveSync\XXXX

However sometimes they make their own directory, ie C\Program Files\XXXX

Guest gpcarreon (MVP)
Posted
However sometimes they make their own directory, ie C\Program Files\XXXX

True. It is author-dependent. The author could specify his target temporary CAB directory in any location he/she desires. A good example for this would be those installers compiled using NSIS, WinRAR SFX files, 7-zip SFX archives.

@Sick_Energy

You could check the directories mentioned by mandt for the CAB. I usually arrange items by date modified so the newly installed/created folders would be much easier to notice. Note though that sometimes, the CAB author would not use directory macro. If that is the case, then the CAB contents would be installed directly on the location specified in the INF. No prompt for target location (phone/ storage card) during the install process.

For example:

[DestinationDirs]

CopyFilesA=0,"\Storage\Program Files\XXX"

What I do (for personal use only), I modify the XML, recompile the CAB. The setup XML holds a lot of information regarding the CAB contents (such as number of directories created, registry entries if any, file names, etc)

I hope those pointers help. ;)

Guest Sick_Energy
Posted

thanks a lot !!!

A very very comprehensive answer ;)

Guest gpcarreon (MVP)
Posted

Happy to help.

An answer to the thread title 'How to make CAB out of EXE file'

- Remember, it would be useless to directly make a Smartphone-installable CAB file out of the desktop-launched EXE (that is, the EXE itself to SP CAB). One should be more concerned with the CAB embedded on the setup file. The setup file wont work on the Smartphone, the embedded CAB does.

Sorry if my grammar is incorrect. I hope you get what I'm driving at ;)

  • 2 months later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.