... could not locate an associated application
I create a new installer about once a decade:)
The installer is working so I decided to add wucheck_ssl support to it - but when wucheck_ssl /c runs, it says "The Web Update client could not locate an associated application to update" (and it goes on from there).
I didn't see anything in the help referring to this message. The pdf ref manual includes the message and shows the return code (-1). There are no diagnostic "hey Mark, you forgot <this>" comments in this area.
Not sure what I did wrong. I am using the default wucheck_ssl - didnt customize it etc.
I looked at the code and it shows this error being thrown if %APPTITLE% is blank. I have never compiled wucheck in the past and dont recall customizing anything to tell it an app title.
The installer that installs wucheck_ssl (via the standard syntax) makes no reference to %APPTITLE% .
I looked at my other installer (yes, only 2) and it does not make any reference to %APPTITLE%, nor does it appear to do anything different related to wucheck_SSL - BUT, it is a 32 bit installer.
This new installer is a 64 bit installer.
Mark
Re: ... could not locate an associated application
Hi Mark,
quick question: so you install a native 64-bit application? That's why your installer is running in 64-bit mode?
I'll try to reproduce your 64-bit installer issue here and get back to you.
Friedrich
Re: ... could not locate an associated application
Quote:
Originally Posted by
linder
Hi Mark,
quick question: so you install a native 64-bit application? That's why your installer is running in 64-bit mode?
I'll try to reproduce your 64-bit installer issue here and get back to you.
Friedrich
Yes, it is a 64 bit .Net addin to a 64 bit .net app.
Mark
Re: ... could not locate an associated application
Mark,
I'll check this on Friday and get back to you!
Assumption: it's very well possible that you have to compile your own 64-bit version of "wupdate" (I think your installer writes 64-bit registry keys and the 32-bit wupdate checks the 32-bit equivalent). Or even better (if this is the cause of this issue) we'll provide 64-bit versions in SetupBuilder 2022.
Friedrich
Re: ... could not locate an associated application
Friedrich,
I recompiled a copy of wucheck_ssl as 64 bit. Didnt help. Same message.
Mark
5 Attachment(s)
Re: ... could not locate an associated application
So, it appears the problem is that the SET %APPTITLE% isnt working.
Here's the user's corresponding HKLM\Software\Lindersoft\WebUpdate\Apps\%APPKEY% (notice the WUCHECK_SSL64 - which is my recompiled 64 bit wucheck_ssl):
Attachment 5084
So that (above) references the user's HKLM\SoftwareLindersoft\WebUpdate\AppPaths\
Attachment 5083
Note that the key LOCAL_APP is present and is not blank.
I added this code to my 64 bit copy of WUCheck_SSL (blue line):
Attachment 5085
When the user ran the updated WUCheck_SSL64, he got this:
Attachment 5086
Seems like the HKEY get didnt get from the right place.
So I thought - I dont see "set x64 mode" anywhere in this installer - which is apparently not the same as "create a 64 bit installer"<g>.
So I added "Enable x64 support" and sent him another exe.
Attachment 5087
Same message - showing %APPTITLE% as blank.
Not sure if this is me, or WUCheck or something else:)
Mark
Re: ... could not locate an associated application
Friedrich,
Any news on this?
Mark
Re: ... could not locate an associated application
Friedrich,
Are you ok?
Mark
Re: ... could not locate an associated application
Hi Mark,
sorry, Covid-19 slows down processes here and messes everything up :-(
I have uploaded my test source codes. I have compiled a 64-bit installation which initializes the 64-bit WebUpdate process. I have re-compiled the original WebUpdate client as x64. All files are in the ZIP.
http://www.lindersoft.com/projects/WebUpdate_x64.zip
Just for fun, please install WebUpdate_x64.exe (my x64 test installer) and after the installation, run WUPDATE_SSL.exe unter c:\program files\WebUpdate_x64. It detects the 64-bit configuration details.
Does this work on your machine?
Sorry again for the delay.
Friedrich
Re: ... could not locate an associated application
BTW, please see Line 82 in the "WebUpdate_x64.sbp" project file. This includes the custom made 64-bit WebUpdate client into the installer.
Friedrich