Jump to content

Need help with copying file over activesync using installer


Recommended Posts

Guest blade001
Posted

Hi, I have been trying to make a installer for my skin and send it to CeAppMgr.exe using command line "pathxx.ini" (where path = the actual path of the .ini file) and I get an error message saying "Application manager cannot install this application to your mobile device due to an invalid setup file. Reinstall and try again"

But I have copied my .cab file over the phone few times to SD & phones memory and it worked fine from both. I am not sure whether it is the .ini file that I am using is invalid or is it something else that I am missing such as registering the .cab file first or something similar. Please help me if you know what is causing this problem.

By the way the .ini file looks like this -

[CEAppManager]Version      = 1.0

Component    = AppName

[AppName]

Description  = AppName

Uninstall    = AppName

CabFiles     = xxxx.cab

[AppName = My application name (Not using the same one as I have defined in cab file in setup.xml)

Version is also not the software version defined in setup.xml inside the .cab file]

Guest blade001
Posted

Just got up from sleep and I got the answer. Remeber I had seen another option in Microsoft msdn few days back. But couldn't remeber what it was, just remebered after a nice sleep (Been sleping all day long has actually made me fresh, never realised sleeping was that refreshing :shock: ). All I had to do is use the /Install_Init parameter. That's one problem solved. But now got another one. Can't call this parameter from NSIS Installer. I am sure there is a way but I just can't see it. Tried escaping double quotes using $"file_pathfile.xxx$", but it doesnt seem to work for me. If anyone here know anyhting about NSIS installer please help me with it. I would really appreciate your help.

Thanks in advance.

Guest blade001
Posted

It's ok . I have figured it out. I was doning somehting wrong and always missing it when looking through the code. It's all working now. I will post the installer for NDev's new futurama home skin release.

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.