Not waiting for first EXE to finish just running all at once

49 views
Skip to first unread message

Mark King

unread,
Feb 22, 2018, 4:42:51 PM2/22/18
to dotnetinstaller
I have an issue where I create a package to run multiple items and run it locally it runs fine. After I add it to SCCM, and run it from software center it wants to run everything at one time and is not waiting for the first program to complete. I cannot figure out what is causing this.

Rami Abughazaleh

unread,
Feb 22, 2018, 8:49:33 PM2/22/18
to dotneti...@googlegroups.com
Can you post the log file?

On Feb 22, 2018 1:42 PM, "Mark King" <mast...@gmail.com> wrote:
I have an issue where I create a package to run multiple items and run it locally it runs fine. After I add it to SCCM, and run it from software center it wants to run everything at one time and is not waiting for the first program to complete. I cannot figure out what is causing this.

--
You received this message because you are subscribed to the Google Groups "dotnetinstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotnetinstaller+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mark King

unread,
Feb 23, 2018, 1:51:56 PM2/23/18
to dotnetinstaller

Here is what I have currently till I get back to work. In this attempt I ran the EXE with an .iss. I then call a bat file with a timeout to give the exe time to install and then grant permissions to the folder the EXE created. As you can see here the EXE was a success and in actuality nothing installed which cased the Bat file to fail sine the folder was not there to grant access to.

I'll get the log file Monday with what I started with. 3 EXEs but when SCCM runs it it starts them all at once. Manually all these attempts run fine. This is just one issue I have been encountering when trying to run these through SCCM and manually they work fine. Any help would be greatly appreciated. 

2018-02-22 15:46:01	-------------------------------------------------------------------
2018-02-22 15:46:01	dotNetInstaller (DNI), version 2.3.16.0
2018-02-22 15:46:01	Copyright (c) DevAge, Vestris Inc. & Contributors
2018-02-22 15:46:01	Operating system: Windows 8.1 (x64)
2018-02-22 15:46:01	-------------------------------------------------------------------
2018-02-22 15:46:01	Sequence: install
2018-02-22 15:46:01	UI level: silent
2018-02-22 15:46:01	Configuration language id: 1033 
2018-02-22 15:46:01	-- Loading supported components (lcid=1033)
2018-02-22 15:46:01	-- CoPath 14.1 (display_name='CoPath 14.1', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED
2018-02-22 15:46:01	-- Grant Access (display_name='Grant Access', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED
2018-02-22 15:46:01	--- Loaded 2 supported component(s)
2018-02-22 15:46:01	-- CoPath 14.1 (CoPath 14.1): NOT INSTALLED
2018-02-22 15:46:01	-- Grant Access (Grant Access): NOT INSTALLED
2018-02-22 15:46:01	All required components installed: no
2018-02-22 15:46:01	All optional components installed: yes
2018-02-22 15:46:01	All checked components installed: no
2018-02-22 15:46:01	Start: install
2018-02-22 15:46:01	Silent mode: automatically starting install
2018-02-22 15:46:01	-- Loading supported components (lcid=1033)
2018-02-22 15:46:01	-- CoPath 14.1 (display_name='CoPath 14.1', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED
2018-02-22 15:46:01	-- Grant Access (display_name='Grant Access', os_filter_lcid=, os_filter=, os_filter_min=, os_filter_max=, processor_architecture_filter=): LOADED
2018-02-22 15:46:01	--- Loaded 2 supported component(s)
2018-02-22 15:46:01	Extracting embedded files for component '*': NO FILES EMBEDDED
2018-02-22 15:46:01	--- Component 'CoPath 14.1' (CoPath 14.1): EXECUTING
2018-02-22 15:46:01	Extracting embedded files for component 'CoPath 14.1': NO FILES EMBEDDED
2018-02-22 15:46:01	Executing: cmd.exe /C "C:\WINDOWS\ccmcache\13\14.1\setup.exe" -s -F1C:\WINDOWS\ccmcache\13\14.1\Co_Path.iss
2018-02-22 15:50:51	Component 'CoPath 14.1' return code 0 (0x0).
2018-02-22 15:50:51	*** Component 'CoPath 14.1' (CoPath 14.1): SUCCESS
2018-02-22 15:50:51	--- Component 'CoPath 14.1 (CoPath 14.1): successfully completed installation
2018-02-22 15:50:51	--- Component 'Grant Access' (Grant Access): EXECUTING
2018-02-22 15:50:51	Extracting embedded files for component 'Grant Access': NO FILES EMBEDDED
2018-02-22 15:50:51	Executing: cmd.exe /C "C:\WINDOWS\ccmcache\13\14.1\Install.cmd"
2018-02-22 15:54:42	Component 'Grant Access' return code 5 (0x5).
2018-02-22 15:54:42	*** Component 'Grant Access' (Grant Access): ERROR - Error executing 'Grant Access' (Grant Access): 5 (0x5)
2018-02-22 15:54:42	--- Component 'Grant Access (Grant Access)' FAILED: Error executing 'Grant Access' (Grant Access): 5 (0x5)
2018-02-22 15:54:42	--- Component 'Grant Access (Grant Access): FAILED, ABORTING
2018-02-22 15:54:42	Silent install, closing.
2018-02-22 15:54:42	dotNetInstaller finished, return code: 5 (0x5)
Reply all
Reply to author
Forward
0 new messages