adxpublisher fails, cannot find sc.exe

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

adxpublisher fails, cannot find sc.exe
 
Rob Blackin




Posts: 68
Joined: 2016-02-20
Today I've updated to the latest AddinExpress version 9.2.4635 and I'm getting the following error when running adxpublisher.exe (this error has never happened before)

C:\output>"C:\Program Files (x86)\Add-in Expres
s\Add-in Express for .NET\Bin\adxpublisher.exe" /WorkingDirectory="C:\output" /OutputType=ClickTwice /ConfigFile="Publish.config"
Publisher: Preparing files...
Done.

Publisher failed. Could not find a part of the path 'c:\output\_temp\MSIPublish\0\1.0.299.0\prerequisites\sc.exe'.
Publisher error (stack trace): at System.IO.__Error.WinIOError(Int32 errorCod
e, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, I
nt32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions o
ptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolea
n 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 resourc
e, String name, String fileName)
at AddinExpress.Deployment.ClickTwicePublisher.Run()
at AddinExpress.Deployment.Program.Main(String[] args)

C:\output>


Any input would be really appreciated, I'm running teh command line as administrator
Posted 05 Dec, 2018 15:10:18 Top
Andrei Smolin


Add-in Express team


Posts: 16673
Joined: 2006-05-11
Hello Rob,

We have a similar (or the same) issue at https://www.add-in-express.com/forum/read.php?SHOWALL_1=0&FID=5&TID=15227.

To solve it, we've modified adxpublisher.exe. I've sent you a link to the fixed publisher by email. Please let me know if it works for you.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 06 Dec, 2018 04:44:38 Top