Are you including the TurboActivate.dll and TurboActivate.dat files in the same folder as your app? What does the crash say? What installer are you using? Are you including the TurboActivate.dat and TurboActivate.dll files in your installer?
this works fine when I run my app inside vs express, but when I publish and try to install, it starts installing then crashes the browser.
Are you including the TurboActivate.dll and TurboActivate.dat files in the same folder as your app? What does the crash say? What installer are you using? Are you including the TurboActivate.dat and TurboActivate.dll files in your installer?
I have put them in the debug and release folders. It works within vs express but not after I publish and try to run it outside.
Wyatt wrote:> Are you including the TurboActivate.dll and TurboActivate.dat files in the same folder> as your app? What does the crash say? What installer are you using? Are you including> the TurboActivate.dat and TurboActivate.dll files in your installer?It says a problem caused the app to stop working, I am assuming it is because I am on vs express?
It says a problem caused the app to stop working, I am assuming it is because I am on vs express?
No, you can use TurboActivate with Visual Studio Express without any problems. What's happening is that when you "publish" your app you're not including the TurboActivate.dll and TurboActivate.dat files. So when your app tries to use the TurboActivate functions it's crashing (because the files aren't being distributed with your app).
By "publish" you mean create a "ClickOnce" application, correct? Unfortunately ClickOnce is very, very limited -- in fact you can't include "native" dlls like "TurboActivate" without using some trickery. We recommend you avoid ClickOnce altogether and use NSIS, Inno Setup, or WiX to create your installer. If you're worried about updates -- we have a product for that.
This looks like it will take a while for me to learn, those installers are all new to me. Please tell me the simpler way,
. We recommend you avoid ClickOnce altogether and use NSIS, Inno Setup, or WiX to create your installer. If you're worried about updates -- we have a product for that.[/quote]
Those installers are new to me, that will take me some time to learn. Please tell me the simpler method.
This is more my level, will this do the same thing?http://www.codeproject.com/KB/install/WixTutorial.aspx
Yes, it should work if you use Votive -- but I believe Votive only integrates with non-express versions of Visual Studio. You can always use WiX as a standalone installer compiler.
Thank you for your help and support Wyatt. On consideration I am just out of my depth with WIX at the moment, and it is only a simple app for download, so I think I will downgrade my account for the moment and find another route, and hope to catch up with you again in the future (when I am more versed in WIX).