+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: ... could not locate an associated application

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default ... 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

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default 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

  3. #3

    Default Re: ... could not locate an associated application

    Quote Originally Posted by linder View Post
    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

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default 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

  5. #5

    Default Re: ... could not locate an associated application

    Friedrich,

    I recompiled a copy of wucheck_ssl as 64 bit. Didnt help. Same message.

    Mark

  6. #6

    Default 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):

    Name:  image_2022_01_27T21_33_01_366Z.png
Views: 401
Size:  48.9 KB

    So that (above) references the user's HKLM\SoftwareLindersoft\WebUpdate\AppPaths\

    Name:  image_2022_01_27T21_31_54_285Z.png
Views: 382
Size:  64.8 KB

    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):

    Name:  Image 2022-01-27 at 3.54.58 PM.jpg
Views: 395
Size:  122.8 KB

    When the user ran the updated WUCheck_SSL64, he got this:

    Name:  image_2022_01_27T21_37_52_565Z.png
Views: 374
Size:  26.4 KB

    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.

    Name:  Image 2022-01-27 at 4.01.54 PM.jpg
Views: 370
Size:  132.0 KB

    Same message - showing %APPTITLE% as blank.

    Not sure if this is me, or WUCheck or something else

    Mark

  7. #7

    Default Re: ... could not locate an associated application

    Friedrich,

    Any news on this?

    Mark

  8. #8

    Default Re: ... could not locate an associated application

    Friedrich,

    Are you ok?

    Mark

  9. #9
    Join Date
    Mar 2004
    Posts
    4,307

    Default 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

  10. #10
    Join Date
    Mar 2004
    Posts
    4,307

    Default 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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •