Search found 765 matches

by bokkie
Sat Aug 27, 2016 4:22 pm
Forum: Plug-In Development
Topic: [Plug-In] Windows Event Log Plugin - Version 1.0.0 (Freeware)
Replies: 2
Views: 18723

Re: Windows Event Log Plugin - Version 1.0.0 (freeware)

thanks to bokkie (who I named in the about section, thank you again) I present Hauke, thanks for mentioning me in despatches but it wasn't necessary. :) I'm glad to have helped where I could but you were far ahead in your development phase than I thought you were. Sorry if, at the time, I was teach...
by bokkie
Thu Aug 25, 2016 12:28 pm
Forum: Plug-In Development
Topic: How to revert a change made by a plugin during uninstall
Replies: 6
Views: 22098

Re: How to revert a change made by a plugin during uninstall

Hauke, My apologies if I misunderstand your question. Unlike IA's plugins the bridge cannot help you to discover their names when your plugin is called. That is, IA's plugins let you open a pulldown and, automagically, you can see all the variables that have been defined in the MSIcode. The bridge p...
by bokkie
Thu Aug 25, 2016 8:34 am
Forum: Plug-In Development
Topic: How to revert a change made by a plugin during uninstall
Replies: 6
Views: 22098

Re: How to revert a change made by a plugin during uninstall

When you drag-and-drop the plugin to the MSIcode you usually display a form. The form is where you'd enter the name of the variable to return some value back to the MSIcode. In addition, the form is where you'd have pulldowns for selecting what you want the plugin to do for that call at that time wh...
by bokkie
Wed Aug 24, 2016 3:01 pm
Forum: Plug-In Development
Topic: How to revert a change made by a plugin during uninstall
Replies: 6
Views: 22098

Re: How to revert a change made by a plugin during uninstall

Of course! :D The plugin must contain all the methods and the correct parameters because it uses the same bridge assemblies and the plugin contains appropriate methods for use during design time in the IDE; when you build the installation media and install it and uninstall it. I don't know about plu...
by bokkie
Mon Aug 08, 2016 11:45 am
Forum: Technical Support
Topic: Index out of bounds error with wizard generated script
Replies: 3
Views: 3192

Re: Index out of bounds error with wizard generated script

I'm just surfacing for a moment but the index out of bounds error has sometimes been reported. I can't remember the exact problem (there may have been several that fit) but you might try searching for other "index..." errors. One thing does come to mind (hope it's not a red herring) but ha...
by bokkie
Fri Jul 22, 2016 2:29 am
Forum: Technical Support
Topic: System Directory
Replies: 2
Views: 2993

Re: System Directory

Add a Get Folder Location statement to your MSIcode. Select the System->System Directory item from the folder pulldown and return its value in a variable. That'll give you the information you're looking for.
by bokkie
Fri Jul 15, 2016 5:11 pm
Forum: Technical Support
Topic: Get MAC Address
Replies: 6
Views: 6209

Re: Get MAC Address

Edan, Happy to read you did it using vbscript. In my plugin (c#) I use this namespace: using System.Net.NetworkInformation and I iterate through the collection using: foreach(string pa in from ni in NetworkInterface.GetAllNetworkInterfaces() where ni.OperationalStatus == OperationalStatus.Up select ...
by bokkie
Tue Jul 12, 2016 2:56 pm
Forum: Technical Support
Topic: Get MAC Address
Replies: 6
Views: 6209

Re: Get MAC Address

Edan,

Give me a little time to recompile it and test it. For some reason, it's throwing an access violation. I'll need to do some debugging to see what's causing it. I'll come back to you hopefully tomorrow.
by bokkie
Fri Jul 01, 2016 5:41 am
Forum: Technical Support
Topic: Error dialog appears without error details during a setup...
Replies: 3
Views: 7540

Re: Error dialog appears without error details during a setup...

Ian, that's more or less the pitfall copying projects to "new" projects. I've done it myself a number of times and my butt has been bitten by an identical GUID. It's the same with plugins as well except there are more GUIDs involved. :(
by bokkie
Thu Jun 30, 2016 3:27 pm
Forum: Technical Support
Topic: Error calling DLL Function Kernell32.dll
Replies: 3
Views: 3394

Re: Error calling DLL Function Kernell32.dll

Glad to hear you also found that a new statement worked. That was my experience as well but I figured I was doing something "wrong" and that the copy-and-paste somehow spooked it. I even consulted my ancient Dan Appleman's book on the Win32 API just to make sure that the correct parameters...
by bokkie
Fri Jun 17, 2016 4:36 am
Forum: Technical Support
Topic: How to insert the value of a variable as a command line parameter?
Replies: 1
Views: 2289

Re: How to insert the value of a variable as a command line parameter?

Try using $VariableName$ I don't know if you used the parentheses literally but variable names are referenced between $ symbols. Did you try displaying the value of the variable in a message box? That'll quickly confirm if the variable contains what you think it should contain. Edit: Take a look at ...
by bokkie
Fri May 27, 2016 4:48 pm
Forum: Plug-In Development
Topic: Plugin's variable names and their values.
Replies: 2
Views: 18383

Re: Plugin's variable names and their values.

Damien, I was looking for a foolproof way of decoding the string but it seems there's nothing you can do except to try and filter quotes and commas and newlines and hope for the best (at this point, unpin the grenade and stick fingers in your ears, the idea being, if you can't hear it go bang then i...
by bokkie
Sun May 22, 2016 5:07 pm
Forum: Plug-In Development
Topic: Restart Windows Explorer plugin.
Replies: 8
Views: 26438

Re: Restart Windows Explorer plugin.

You mean something like the following? var handle = GetDesktopWindow(); LockWindowUpdate(handle); ... LockWindowUpdate((IntPtr) 0); When I run this code the bit in the middle, the ... is where I have my code to restart the explorer. It still flashes on the monitor. My definition for the GetDesktopWi...
by bokkie
Sat May 21, 2016 10:36 am
Forum: Plug-In Development
Topic: Restart Windows Explorer plugin.
Replies: 8
Views: 26438

Re: Restart Windows Explorer plugin.

LockWindowUpdate? I haven't come across that one before. I'll have a look for information about it and see about adding it to the plugin. Thanks for the heads-up on it.

Edit: I have an entry for it in my copy of Dan Appleman's book on the Windows API.

Go to advanced search