cannot open input file 'WinSparkle.lib' - VS 2008

86 views
Skip to first unread message

vika...@gmail.com

unread,
Jan 27, 2014, 7:49:00 AM1/27/14
to winsp...@googlegroups.com
Hi,

 I am trying to use WinSparkle with a C++ based CEF3 App built using Microsoft VS 2008. I downloaded the WinSparkle-0.3.zip version and set the path to the header file. 
In my app, I included the header file winsparkle.h and added 2 lines, win_sparkle_init() and win_sparkle_cleanup() at appropriate places (Just wanted to build my code once before adding the appcast xml). 
When I build my code, I get the error "cannot open input file 'WinSparkle.lib'" even though the path is set correctly. I added the lib file in the linker paths but still got the same error.

Please let me know why I am not able to build my code with WinSparkle. Do I need to get the source and compile the WinSparkle library separately?

Thanks
Vikas 

Václav Slavík

unread,
Jan 27, 2014, 8:13:53 AM1/27/14
to winsp...@googlegroups.com
On 27 Jan 2014, at 13:49, vika...@gmail.com wrote:
When I build my code, I get the error "cannot open input file 'WinSparkle.lib'" even though the path is set correctly.

Well, clearly it isn’t, is it?

Please let me know why I am not able to build my code with WinSparkle.

Sorry, can’t help you with your IDE, your setup and your projects/code — you’re doing something wrong, but it’s impossible for me to know what. You’re IDE is capable of producing verbose build logs; use them. In any case, it’s not something wrong with WinSparkle, it does nothing out of ordinary.

Do I need to get the source and compile the WinSparkle library separately?

I highly recommend this, though.

Vaclav

vika...@gmail.com

unread,
Feb 3, 2014, 8:41:09 AM2/3/14
to winsp...@googlegroups.com
Thanks for the quick reply and sorry for my delay.
It was my fault and fixed the path correctly. I am now able to get the updates using WinSparkle dll itself. I have a couple of questions though for which I need your advice.

- I am using WinSparkle with a CEF3 based app. When I click on Install Update, a browser instance is opened and I can see the download happening there. In Mac Sparkle, I just see a download status popup. Is it possible to make WinSparkle behave the same way?

- If I want to hide Sparkle Notification popups and just handle the message as an event inside my code and send it to my application about a new Update, can it be done? This way, the team developing the web application want to use a custom UI inside the app for notifying users. 

Please let me know. Appreciate your response.

Václav Slavík

unread,
Feb 6, 2014, 5:12:26 AM2/6/14
to winsp...@googlegroups.com
On 03 Feb 2014, at 14:41, vika...@gmail.com wrote:

Thanks for the quick reply and sorry for my delay.
It was my fault and fixed the path correctly. I am now able to get the updates using WinSparkle dll itself. I have a couple of questions though for which I need your advice.

- I am using WinSparkle with a CEF3 based app. When I click on Install Update, a browser instance is opened and I can see the download happening there. In Mac Sparkle, I just see a download status popup. Is it possible to make WinSparkle behave the same way?

You are compiling from the sources anyway — so why aren’t you using the latest sources from https://github.com/vslavik/winsparkle? Because I implemented this a year ago...

- If I want to hide Sparkle Notification popups and just handle the message as an event inside my code and send it to my application about a new Update, can it be done?

No. I would consider PRs adding such support, but honestly, if you don’t want to use majority of WinSparkle, why bother at all? The whole point of it is that you *don’t* need to write tons of custom code.

Regards,
Vaclav

Reply all
Reply to author
Forward
0 new messages