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.
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.
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.
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.
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).
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" ?
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.
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.
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.
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
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.
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.
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.
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.
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
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.
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
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.
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
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.
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.
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
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.
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.