Help for (WiX)-Installation needed

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

Help for (WiX)-Installation needed
 
Christian Fasold




Posts: 45
Joined: 2013-11-27
Hello everybody,

I have successfully created my second AddIn (this time for PowerPoint) and now that I need to deploy it, I have suddenly some trouble (which I didn't have before):
- I build the AddIn
- I click on "Create Setup Project" and select "WiX" and click OK
--> a new setup project gets created
- I click on that setup project and click on "Build"
- I click on the AddIn and select "Publish ADX Project"
- I select MSI-based web deployment
- I select the MSI-file which the WiX-Project Build has created
- I set the publishing location
- I click "Publish"

That creates a few directories and in the <Version-Number> directory it creates two files:
- rayribbon4powerpoint.exe
- RayRibbon4PowerPointSetup(1.0.3).msi

In order to install the addin (and have it automatically check for updates) I have to run (which worked perfectly
fine until today) the EXE-File and NOT the MSI-file.
As soon as I click the EXE file, the download window comes up and I get this error:
"Can't Connect to server. Task name: DownloadVersionInfo."

That EXE file suddenly has about 432 kByte, in the "older" version directories (where the exe file still works) it only has about 240 kByte.

Copying an "old" exe file to the new directory doesn't help, inside the exe file the path to the MSI file seems to be hardcoded as only old versions get installed that way...

Please I need help to resolve this issue as I did beta testing with my collegues the last weeks, everything worked fine then and now that I have to deploy it to all our users, I have this problem with the exe file...

Thanks a lot!

Best regards,

Chris
Posted 10 Feb, 2015 09:11:01 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Hello Chris,

It looks like something is wrong with the server or with the information which is used to access it.


Andrei Smolin
Add-in Express Team Leader
Posted 10 Feb, 2015 09:34:49 Top
Christian Fasold




Posts: 45
Joined: 2013-11-27
Hello Andrei,

sorry for my late response...
Well the server is just an SMB share which works perfectly well...

I am wondering why suddenly the EXE file has increased so much? The EXE always does the same regardless of the "real" software to be installed which is in the MSI (that is at least what I think it is)...

How could I debug the error? Does your EXE file generate any log files or s.th. like that?

Because I really need to solve that :-(

Thanks a lot in advance,

best regards,

Chris
Posted 12 Feb, 2015 00:39:04 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Hello Chris,

In this Add-in Express version, the downloader file is unmanaged; it was managed in previous Add-in Express versions. This helps you bypass .NET Framework related problems on this stage. In the current version, the required libraries are statically linked and this makes the .EXE bigger.

There's no log file.

How do you specify the Installation URL?


Andrei Smolin
Add-in Express Team Leader
Posted 12 Feb, 2015 03:51:57 Top
Christian Fasold




Posts: 45
Joined: 2013-11-27
Hello Andrei,

thanks for your reply.

We are using (for over a year now and it always worked perfectly) an UNC path: \\<servername\xyz
but only in "Publishing Location", "Installation URL" is empty (as it always was before).

I am not understanding the problem :-(
Could it be that we have updated add-in express from adxnet-v705-b4072-vs-pro.zip to adxnet-v706-b4084-vs-pro.zip?
That is the only thing I can think of that I have changed since the deployment building didn't work anymore...

Interesting thing:
If I use the "old" EXE, open it in an HEX editor and manually change the path to the "new" MSI, the installation works.
I have tried to find the path in the new EXE, but couldn't find it in there...

Could it help to downgrade the add-in express version?

Thanks a lot and best regards,

Chris
Posted 12 Feb, 2015 06:45:13 Top
Christian Fasold




Posts: 45
Joined: 2013-11-27
Update:
I did a string extraction of the new EXE and have found the version number, everything else (the paths) seem to be correct as well:
---
103 ClickTwice.Downloader
109 CLICKTWICEDOWNLOADER
132 {12139907-B836-461D-A85C-4A9E26F854F4}
133 \\<FQDN>\Name\Beta\NameOfPlugin\
134 1033
135 user
136 NameOfPlugin
137 {9F6A82D5-1D1D-46CD-B518-E253F78442AA}
138 <Empty>
139 NameOfPlugin
140 Outlook
141 NameOfPlugin
142 1.0.20
143 true
144 Cancel
---

I have replaced the actual names of the server and the directories in the text above...

Thanks a lot and best regards,

Chris
Posted 12 Feb, 2015 06:53:45 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi Christian,

I reproduced the issue. Thank you for the bug report. We will fix it in the next build of the product. It will be published soon. Until then, please use the previous version of Add-in Express or just use a mapped drive to avoid this issue.
Posted 13 Feb, 2015 04:09:21 Top
Christian Fasold




Posts: 45
Joined: 2013-11-27
Hello Sergey,

thanks a lot for your reply.

Ok I will install the old version again, could you update the thread as soon as the new version is out?

Hopefully I can still activate the old version, I don't know how often I can activate it...

Thanks a lot and best regards,

Chris
Posted 13 Feb, 2015 05:01:44 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Chris,

We will let you know when the new build is available.

Christian Fasold writes:
Hopefully I can still activate the old version, I don't know how often I can activate it...


If you have this problem, just let me know.


Andrei Smolin
Add-in Express Team Leader
Posted 13 Feb, 2015 07:01:31 Top
Andrei Smolin


Add-in Express team


Posts: 18829
Joined: 2006-05-11
Hello Christian,

We've published a new build, see https://www.add-in-express.com/downloads/adxnet.php.


Andrei Smolin
Add-in Express Team Leader
Posted 03 Apr, 2015 05:31:01 Top