We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Silent install not restarting application

Hi,

I just upgraded from 13.4 to 13.5 and my silent install does not restart my application

I have attached log files


SEE NEXT POST !!
Attachments
2017.01.16.14.54.57.857_AgentInstallLog.txt
(53.36 KiB) Downloaded 478 times
Last edited by MLiss@Cetrus.com on Tue Jan 17, 2017 12:20 am, edited 1 time in total.
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Silent install not restarting application

I submitted an issue similar to this a while ago as well ( http://www.advancedinstaller.com/forums ... =5&t=33555 )

So change my project settings when you answered the question back then .... since then, my launch file settings have ~NOT~ changed :
LaunchFile.PNG
LaunchFile.PNG (52.52 KiB) Viewed 10360 times
Last edited by MLiss@Cetrus.com on Thu Jan 19, 2017 7:59 pm, edited 1 time in total.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Silent install not restarting application

Hello,

Can you please tell us if the behaviour still persists when placing the custom action between the InstallExecute and InstallFinalize standard actions and see if the behaviour still persists?

The standard actions used by Advanced Installer can be revealed using the "Show Standard Action" button on the toolbar of the "Custom Actions" page.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Silent install not restarting application

I am doing this: (in 13.5)
LaunchFile_AfterInstallExecute.PNG
LaunchFile_AfterInstallExecute.PNG (14.68 KiB) Viewed 10350 times
Last edited by MLiss@Cetrus.com on Thu Jan 19, 2017 8:00 pm, edited 1 time in total.
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Silent install not restarting application

Still does not work. (using 13.5)

I have attached my setup file
Attachments
Agent.zip
(253.27 KiB) Downloaded 570 times
Last edited by MLiss@Cetrus.com on Thu Jan 19, 2017 7:59 pm, edited 1 time in total.
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Silent install not restarting application

Here are the install parameters that I pass to the setup program:

NOTE :
The directory is programmatically obtained from the users "documents folder"
The IP is the IP of the server the agent is connected.

COMPUTER_TYPE="E0A7BED5-9FCA-4888-9CDF-C17896DE0FC9" SERVER_IP="192.168.0.131" /qn /lv C:\Users\MLiss\Documents\Cetrus\ProcessMeter\3.3\Agent\Logs\2017.01.17.07.40.01.722_AgentInstallLog.txt
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Silent install not restarting application

Any progress on this... this is day three of no testing / upgrades from our Manager... :-(
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Silent install not restarting application

Hi Mike,

I apologize for the delayed reply.

I tested your sample project and it worked as expected on my machine. The "Agent.exe" application is launched in silent mode (but only in the "System Tray") as it does when it is installed with Full UI. Doesn't this work on your machine? Are you sure that the application is successfully installed in silent mode and no other error is encountered?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Silent install not restarting application

Yes... the application is fully installed and there are no errors. After the silent install, I am able to go to the machine where it was installed, double click "agent.exe" and it starts right up.

Our build process is this:
Dump the entire source tree
Get the entire source tree.
Build all executables
Open the aip project file
build setup
do not save any changes to any files used during build process
publish files to testing directory

My plans now are to roll back to 13.4, build again, test.
Record if agent runs after silent install
Open the aip file on my local machine using 13.4 - SAVE IT

Then install 13.5, build, test
Record if agent runs after silent install.
Open aip file on my local machine using 13.5 - SAVE IT

Post the results here
Last edited by MLiss@Cetrus.com on Thu Jan 19, 2017 8:01 pm, edited 1 time in total.
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Silent install not restarting application

Here are the logs from a silent install using AdvancedInstaller 13.4

Using 13.4 the agent starts up and runs after a silent install
Attachments
_2_13.4_Install_(3.3.18_to_3.3.19).txt
(453.27 KiB) Downloaded 477 times
_1_13.4_Install_(3.3.16_to_3.3.18).txt
(455.02 KiB) Downloaded 497 times
Last edited by MLiss@Cetrus.com on Thu Jan 19, 2017 8:01 pm, edited 2 times in total.
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Silent install not restarting application

installed 13.5 on dev machine
Opened up my agent installer in 13.5
Saved changes.

Here are the files before and after (named for version they were saved under)
Attachments
Agent_13.5_Installer.aip
(52.17 KiB) Downloaded 536 times
Agent_13.4_Installer.aip
(49.01 KiB) Downloaded 647 times
Last edited by MLiss@Cetrus.com on Thu Jan 19, 2017 8:02 pm, edited 1 time in total.
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Silent install not restarting application

Manually ran the installer for the 13.5 build

Here is the launch file location:
LaunchFileLocation_BEFORE.PNG
LaunchFileLocation_BEFORE.PNG (4.66 KiB) Viewed 10323 times
Agent did not start. (I can manually start the agent)
Last edited by MLiss@Cetrus.com on Thu Jan 19, 2017 8:02 pm, edited 2 times in total.
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Silent install not restarting application

Did a silent install from our manager (for 13.5)

Agent did NOT start (I can manually start the agent)

Attached is the install log
Attachments
2017.01.19.09.58.58.886_AgentInstallLog.txt
(53.22 KiB) Downloaded 428 times
Last edited by MLiss@Cetrus.com on Thu Jan 19, 2017 7:58 pm, edited 3 times in total.
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Silent install not restarting application

Adjusted the LaunchFile per your previous post: (for 13.5)
LaunchFileLocation_AFTER.PNG
LaunchFileLocation_AFTER.PNG (5.15 KiB) Viewed 10323 times
Last edited by MLiss@Cetrus.com on Thu Jan 19, 2017 8:03 pm, edited 2 times in total.
MLiss@Cetrus.com
Posts: 366
Joined: Wed Dec 30, 2015 5:40 pm

Re: Silent install not restarting application

Manually installed software

Agent started up after MANUAL install (for 13.5)
Last edited by MLiss@Cetrus.com on Thu Jan 19, 2017 7:58 pm, edited 2 times in total.

Return to “Building Installers”