|
|
... and sighs deeply.
I have great pains. Our application consists of a launcher and various dlls.
The launcher looks at the fileserver for newer versions of the dll's and copies them over if required, then the main process is run inside the dll.
It works nicely, or should, and means that users always run the latest version. Win-win. Except.
When we copy over the files to the file server from the build server, one of the dll's is marked as from an 'unknown source' and is blocked. I could go into group policies and disable the blocking but that would be for any other dll/exe that should be blocked.
For now, after each update I have to manually unblock the file. Does anyone have an idea of a better solution?
veni bibi saltavi
|
|
|
|
|
Nagy Vilmos wrote: Does anyone have an idea of a better solution?
Take leave?
|
|
|
|
|
|
RickZeeland wrote: I had the same problem with NETZ which I tried out lately, see article here:
Wow, NetZ is still around? Then I clicked on the article link. I haven't used NetZ in ages, IIRC there are better solutions -- have you tried Download ILMerge from Official Microsoft Download Center -- as compared to something that was a decent idea 12 years ago.
|
|
|
|
|
Seems that comments on articles are not sent to the author anymore automatically.
NetZ is still around, be it in a somewhat dormant state, the source code is available on GitHub but no one seems interested in it anymore, what a pity.
I did one simple test with a .NET 4.0 application, and got that working.
I know about ILMerge and Fody Costura, and have put those to good use already, the interesting thing about NetZ however is that it zips and encrypts your application which might offer some level of protection.
|
|
|
|
|
I share your pain, I have an installer that 'updates' a certain dll to a version that was released when the earth was hot. The worst thing is that version of the dll doesn't have voodoo for the program to work...
|
|
|
|
|
But should you do voodoo?
veni bibi saltavi
|
|
|
|
|
HooDoo you do it otherwise??
|
|
|
|
|
Do do that voodoo - now go do that voodoo that you do so well.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
|
If that's the same "unblock" option you get for files downloaded from the internet, you just need to delete the "Zone.Identifier" alternate data stream.
If only someone had written a library[^] to let you do that easily...
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Is this a managed (.NET) dll or a COM Dll or classic dll (neither COM nor .NET -- native dll)?
I'm assuming it is a managed DLL. However, if it is a COM dll that you have a dependency upon you may find some other requirements for that item which are causing the problem.
Edit
Here's something else interesting:
Applications that receive less than full trust from their host or sandbox are not allowed to call shared managed libraries unless the library writer specifically allows them to through the use of the AllowPartiallyTrustedCallersAttribute attribute. Therefore, application writers must be aware that some libraries will not be available to them from a partially trusted context. By default, all code that executes in a partial-trust sandbox and is not in the list of full-trust assemblies is partially trusted
|
|
|
|
|
raddevus wrote: Here's something else interesting:
Do you really trust that info to accurate?
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
John Simmons / outlaw programmer wrote: Do you really trust that info to accurate?
Well it is from Microsoft...so mostly not.
However, I thought maybe it would lead to something that might help.
|
|
|
|
|
It probably was accurate during beta testing. Now, a few releases and updates later - I would be seriously surprised if it was.
|
|
|
|
|
Get a sturdier and softer desk?
cheers
Chris Maunder
|
|
|
|
|
That's just cruel. With an adequately hard desk, at least you have the bliss of unconsciousness to look forward to.
Software Zen: delete this;
|
|
|
|
|
Dangerously close to a programming question, sir!
PooperPig - Coming Soon
|
|
|
|
|
Hi All,
I looks like I will be forced down the snake route, so as some one who has an ammount of Vis Studio experience (VB, VB.NET, C#) and a very solid background in C is there a route other than the Python for Beginners book I have gone through that basically give you an overview and simple examples rather than this is how you automate X with it. I mean I can write a text adventure, not automate things.
|
|
|
|
|
|
Merky Bucket or Khosoenoem (according to the Hungarian guy across the office)
modified 24-Apr-18 6:49am.
|
|
|
|
|
This may help: Amazon[^] Chapter nineteen seems particularly relevant from what I've seen of Python so far.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Believe or not I was whistling 'I'm a Lumberjack' while downloading it...
|
|
|
|
|
And later on you will do the full Monty
|
|
|
|