adxpublisher.exe 9.2.4635 not working in command line

Add-in Express™ Support Service
That's what is more important than anything else

adxpublisher.exe 9.2.4635 not working in command line
 
Kiru Marimuthu


Guest


Hi

I have been using adxpublisher.exe to publish the installer in command line. Configured our build server to use this commandline to publish the installer.

After upgrading to 9.2.4635 I get the following error.

Publisher failed. Could not find a part of the path 'C:\Kiru\Github\XXXXXXXXX\AddinExpressSetup.msi'.
Publisher error (stack trace):    at AddinExpress.Deployment.ClickTwicePublisher.Run()
   at AddinExpress.Deployment.Program.Main(String[] args)


Any help please?
Posted 26 Nov, 2018 06:12:50 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Kiru,

Add-in Express allows generating an adxpublisher.exe.config reflecting the settings you choose in the UI; see the Publisher tab in the Preferences dialog. I suggest that you use the generated .config file to check if the settings are correct.


Andrei Smolin
Add-in Express Team Leader
Posted 26 Nov, 2018 06:39:32 Top
Kiru Marimuthu


Guest


Hi Andrei

Apologies, I copied wrong error message. Here is the correct error message now.


Publisher failed. Could not find a part of the path 'C:\Kiru\Github\AddinExpress\lib\AddinExpressPublish\_temp\MSIPublish\1033\3.2.1.0\prerequisites\sc.exe'.
Publisher error (stack trace):    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode)
   at AddinExpress.Deployment.ClickTwicePublisher.ExtractResource(String resource, String name, String fileName)
   at AddinExpress.Deployment.ClickTwicePublisher.Run()
   at AddinExpress.Deployment.Program.Main(String[] args)
Posted 26 Nov, 2018 07:04:25 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Kiru,

Do you have any related records in your antivirus' log?


Andrei Smolin
Add-in Express Team Leader
Posted 26 Nov, 2018 07:23:31 Top
Kiru Marimuthu


Guest


Hi Andrei

Haven't got any antivirus and even my Windows defender been disabled.

Thanks
Kiru
Posted 26 Nov, 2018 08:09:27 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Kiru,

Please add the following entry to the .config file:

<add key="createSetupExe" value="true" />


Does this help?


Andrei Smolin
Add-in Express Team Leader
Posted 27 Nov, 2018 03:31:21 Top
Kiru Marimuthu


Guest


Hi Andrei

Added that key to the config file and still, it didn't work.
I get the same error.

Thanks
Kiru
Posted 27 Nov, 2018 05:10:15 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Kiru,

We look in the issue. The current workaround is to publish it using the UI provided. Once I have a fix, I'll send it to you.


Andrei Smolin
Add-in Express Team Leader
Posted 27 Nov, 2018 07:33:43 Top
Kiru Marimuthu


Guest


Thanks,

Please let me know when you have the solution. Currently, I am using the AdxPublisher.exe from the previous version.

Regards
Kiru
Posted 27 Nov, 2018 08:18:09 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hello Kiru,

I've sent you a download link by email. Please let me know if the fix works for you.


Andrei Smolin
Add-in Express Team Leader
Posted 28 Nov, 2018 05:24:15 Top