Cameyo

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Application not launching


Veteran Member

Status: Offline
Posts: 32
Date:
Application not launching
Permalink   
 


Hi,

I've packaged SAGE 50 Accounting Canada without trouble. First time I started the packged application, it did start. I closed it but now, nothing happens anymore when I try to start it. The processes comes into the Task Manager but disappears after a few seconds without any message.

Tried to open the package with the Cameyo editor and does not seem to find any problem.

Any hint ?



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

Try launch with the -remove flag and try again. This will restore the app to it's default state which should let you open it again. If it fails to open, try again with -remove and then -safemode.

If this ultimately did not work, please use -troubleshoot, allow the app to crash, and post your troubleshoot.zip so we may take a look.

Example: Appname.cameyo.exe -remove

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Thanks, with the -remove options, it worked. However, I'm now confronted with a new problem: each option of Sage 50 is shown. If I chose the first one (the one I'm really interested in), Sage says to me that the "Sage connection manager" (2nd option in the Cameyo menu) is not installed on the system I'm trying to run Sage on. When performing the Cameyo package however, this component was installed together with Sage, but it seems both components do have to run together, even if my Sage 50 installation is local and I do not use any server connection.

Any hint on how I could force Cameyo running both components at once ? In parallel, I'll try also with Sage support to see how to get rid of the connection server thing.

 

Thanks

SAGE Cameyo

 

 



Attachments
__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

If you are a Cameyo Pro user, you can use custom events to start the other launch entry. If not, you will have to code your own program to launch both and wait for them both to close. I can provide code if you want.

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Hi,

If you could provide me with a script, that would be fine.



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

https://onedrive.live.com/redir?resid=AC6D5603E28A7989!197166&authkey=!ABFmPUr6bZeEdSk&ithint=file%2czip

The .au3 file is the source code. You can read it using Notepad or SciTE4AutoIt3 (Download)

The .exe file is compiled from the source code. If you do not trust me, compile the exe yourself. (Instructions below)

The .ini file is the settings file that holds all the EXEs to launch. This file follow Standard INI format. Examples included.

 

If you have any questions or concerns, please let me know and I'll be happy to answer them. You have my permission to have complete freedom over what you choose to do with this. Share it, redesign it, commercialize it, I could not care less. My only request is if you commercialize it, you add my name "BetaLeaf" to the credits of your software (and this is not required to commercialized, just a request to show thanks).

 

How to Compile: Tutorial

 



__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Thanks. I've just tried to use your ini file by simply changing the 1st line and putting there the command to start my program rather than calc.exe. This does not even go as far as it goes when lunching the Cameyo package.

I then tried using the command line and item #2, but still, the first option is started.

Is the option for starting the 2nd option in the package menu still "<package name> -exe #2" ?

Thanks



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

Can you send me your package?


__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

Ok give me a minute. What are you trying to launch?

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

1st option: "Sage 50 Compatibilité". The problem is that at startup, after selecting the default data file (Aventuresdanisxxxxx v2.sai), it says that the Connection Manager does not seem to be installed. On the system I packed from, this was however installed and the paths are also in the Cameyo package.

 



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

Alright give me some time.

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Ok, for using the statup options, my mistake, I used "-exe" rather than "-exec". Now starting an option is OK. But this does still not solve the major issue.



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

The main issue is %Program Files (x86)%\winsim\ConnectionManager\Simply.SystemTrayIcon.exe was not packaged with the app. This is the executable for the connection manager. You will need to make sure you added these files.

 

sreenshot



__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

OK. Thanks. I have to leave but I'll give it a look ASAP.



__________________


Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Just re-saved the package and now, both option do start. Just have to figure out how to start the service rather than juste start the connection manager process, I guess.



-- Edited by fibag21 on Monday 7th of March 2016 08:29:49 AM

__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

Link?

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

How can I start a module as administrator ? It should be so that I can start the service. Thanks.



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

Run the virtual app as administrator.

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Then I have an error pop-up saying "could not deploy".



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

try -remove flag

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

-remove gave a message saying the application was successfully removed. However, afterwards, when I launch the program, I receive this.

 



Attachments
__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

I still need the link to the updated file. If you save it in the same location you originally shared it at, it will automatically update on my end. Also, I'm not in the best of moods right now and I need some me time to wind down. When I get done with that (1-2 hours, no more than a full day), Ill fix your app for ya.

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

OK, no problems thanks. I'll send the package again ASAP (no connection to OneDrive right now).



__________________


Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Hi,

 

Hopefully your are feeling better today ? I've uploaded the new version of the package. You'll an option for starting the service. On the VM I used to package, this command start the actual service. But in the package I receive an error. The other option, about the Communication Manager starts something (to be seen with an icon in the right part of the screen.

Thanks for your help.



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

I think there is something wrong with your package. I can't even get the services to start. They try to, stall for around a minute, and ultimately time out. Can you send me the installer along with any instructions required and I'll repackage it on my clean vm.

I spend around an hour and a half today trying to get it to work for you. I also noted that trying to install the services as admin causes the services to install at incorrect paths. It will try to use an unvirtualized path.

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

I'm still here to help you if you send me your installer.

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Hi,

I'll put the ISO image tonight on my drive. What about registration info ?

Another question: for the data, should I best package them or use data outside the package ?

Inbetween, I tried to package the runas.exe file together with SAGE, so that I could use the runas command to start the Simply.SystemTrayIcon.exe as an admin, but then the runas program does not find this Simplyxxxxx.exe file.

Thanks



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

If it is required to install and run the application normally, I will need the registration info too.

For the data part of your question, no. You don't need to package it inside the virtual app. What I do is once I package my virtual app, I run it once to create the CHANGE folder and I place my data files in the appropriate location inside the CHANGE folder.
You can if you want, but if you are going to share the app, they will be able to see these data files if you packaged them inside the virtual app instead of placing them in the CHANGE folder.

Remember, -remove will remove the change folder so if you have any files you need to keep, back them up first before running this flag.



-- Edited by betaleaf on Tuesday 8th of March 2016 09:09:03 AM

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Finally, I could manage to upload the iso file earlier.

So, I've put registration info too. As for the data part, I've put them as well so that it is possible to try and start the program, but afterwards, I'll use them outside the package. This is indeed easier for me to backup them and keep them safe. After all, they are my accounting data.

 

Thanks for your help.

 



__________________
Anonymous

Date:
Permalink   
 

Betaleaf here. I'm mobile atm and don't feel like logging right now. Can u share me the files? You can pm me or share them directly to my onedrive via email. Betaleaf@gmail.com



__________________


Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Hi, there are on my onedrive like before.



__________________
Anonymous

Date:
Permalink   
 

I have not received your file yet. Last time, you only sent me the link for your virtual app. You will need to share the files to me via onedrive Sharing. Once again, my email is Betaleaf@gmail.com.



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

I have received your files. I'm working on it now.

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

After spending a few hours trying to get it to work, I have given up. I tried packing on Windows XP and Windows 8.1 to no success. Services will not start up. Without these services, the product will not work. Maybe Mule, the Support Guru, will be able to help you. I'll give him a PM.

 

Also, out of respect to your privacy, I have deleted all copies of your app from my computer and all virtual machines. Have a good day.



-- Edited by betaleaf on Tuesday 8th of March 2016 02:28:13 PM

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

I downloaded this package, opened it in Package Editor, and enabled Allow system services to be registered on target machine.  The saved package starts the Sage 50 Database Connection Manager service on my clean Win8.1 VM.  Sage 50 itself does not start however.  If this information is not helpful, I would need access to the installer file to build a fresh package and go from there.



__________________


Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Hi Mule,

Thanks. Where should I enable the services to be able to start on the target system ? Can you show me a print screen so that I'm sure I do it where it is required ? I'll give it a try this way then. If this still does not run as required, I'll post again the ISO image I sent earlier to Betaleaf.

Thanks a lot guys for helping me. It's highly appreciated since I would much prefer using a Cameyo app than having to run a full VM for SAGE.



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

I also was able to get connection manager to start but only once. I haven't been able to replicate reliably.you can enable services at the bottom of the advanced tab of package editor (to the right of registry tab). You should also pm mule the links to your file over posting them here since you have sensitive data. You should also remove any links from this topic with your sensitive data, such as the link found at http://cameyo.activeboard.com/t61763507/application-not-launching/?sort=firstEntry&page=1#comment-61777869

-- Edited by betaleaf on Wednesday 9th of March 2016 05:28:16 AM



-- Edited by betaleaf on Wednesday 9th of March 2016 05:33:02 AM

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Hi,

I could launch the service on my target system but indeed, Sage 50 itself did not work, Will continue to check what could be done as well.



__________________


Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Hi Mule, can you pls. give my your email address so that I can send your the link to the ISO and registration files ?



-- Edited by fibag21 on Wednesday 9th of March 2016 08:20:47 AM

__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

Just pm the links to him

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Done.



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

Alright. I hope he can help you. Sorry I wasn't able to help more.



-- Edited by betaleaf on Wednesday 9th of March 2016 10:10:52 AM

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

No prob. You did a great job trying already.



__________________


Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

Still looking for a solution myself.

If I want to use "runas xxxx" to start an exe as another user, what would be the patch to be used for this exec ? I keep receiving an error message saying that the exec cannot be found. Tried using %Program Files (x86)%\winsim\ConnectionManager\Simply.SystemTrayIcon.exe, "C:\Program Files (x86)\winsim\ConnectionManager\Simply.SystemTrayIcon.exe" or just Simply.SystemTrayIcon.exe, none worked.



__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

I built a package on a clean Win8.1 VM.  I reverted the VM and tested on it, as well as on a clean Win10 VM.  You can download my package here.

  1. Entered serial number during installation but nothing else
  2. Ran as trial offline, i.e. did not activate
  3. Opened sample company
  4. Exited program
  5. Launched package and opened Anis au Pays des Merveilles v2.SAI and Anis au Pays des Merveilles.SAI
  6. Exited program, restarted Win8.1, and opened Anis.SAI

I did not make any changes or saves on any of the files opened.



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

Very nice mule. Thanks for your help.

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

W O N D E R F U L

Thanks a lot! And funny since my main reason for going virtual, besides portability, is that the version is not officially supported on W10. I opend it with my external data and it ran without problem.

One question left, how can I edit the package to activate the software ? If I activate when starting, would the package be updated ? I presume not.

 



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

Make a backup just in case. Activate the program, close it then run with

-Repackage

http://www.cameyo.com/doc/index.html?virtual_package_command_lines.htm



-- Edited by betaleaf on Friday 11th of March 2016 06:11:48 AM

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/



Veteran Member

Status: Offline
Posts: 32
Date:
Permalink   
 

OK, thanks. Will do it this afternoon, as soon as my CrashPlan backup finishes. 

 



__________________


Senior Member

Status: Offline
Posts: 147
Date:
Permalink   
 

Sorry. My mind isn't awake yet. When you -Repackage, cameyo automatically makes a backup for you. No need to wait or make the backup yourself.

__________________

Jeff Savage ~ BetaLeaf https://betaleaf.net/

1 2  >  Last»  | Page of 2  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard