PDA

View Full Version : CHM Support over a network, making UNC Registry Entries



NewsArchive
09-01-2006, 02:59 AM
Hi Friedrich,

I am considering switching to SetupBuilder (SB).

I want to know if SB has tackled the problem of using .CHM over a network.

As you probably know, .HLP files are being deprecated by Microsoft. They
will not be supported out of the box on Vista, and we as software developers
will be barred from shipping the HLP component. It is recommend that we
convert to .CHM. However because CHM is HTML it and HTML has secuirty
holes, Microsoft has clamped down on CHM's. As a result when you try to use
CHM over a network it will fail unless you have made some Registry entries.

This is discussed at http://www.helpandmanual.com/products_hhreg.html which
in turn points to a number of microsoft pages including:
http://support.microsoft.com/kb/896054

As you can see, we are required to make a number of registry entries, I'm
sure SB can do that.
The sticking point however is that the entries need to be in UNC notation.
*** How can I ask SB for the UNC equivalent of the install folder? ****

TIA,
Mark Goldberg

NewsArchive
09-01-2006, 03:00 AM
Hi Mark,

Very good question. I have to think about it tonight and get back to you.

Friedrich

NewsArchive
09-01-2006, 03:00 AM
On 31 Aug 2006 12:21:24 -0400, mark goldberg wrote:

> This is discussed at http://www.helpandmanual.com/products_hhreg.html which
> in turn points to a number of microsoft pages including:
> http://support.microsoft.com/kb/896054
>
> As you can see, we are required to make a number of registry entries, I'm
> sure SB can do that.
> The sticking point however is that the entries need to be in UNC notation.
> *** How can I ask SB for the UNC equivalent of the install folder? ****

Mark,

SB5 is an absolutely great product and a must have IMHO.

However keep in mind that if you install to the server - then a user runs
your app from the server (from a different PC), it would need to be your
app that makes the changes to the Registry.

Now you could (and maybe should) create a secondary installer to setup the
"client" portion of your software.

If so - SB5 is the logical best choice again of course.

But you'll need to still take into consideration that the user needs to
have the privileges to make changes to the registry on their PC.


Just some details to keep in mind - but of course your in good hands with
Friedrich<g>


Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
09-01-2006, 03:00 AM
Hi Charles,

Yeah that's true, however do have a "client install" in order to add
hardware drivers, short cuts and some INI files (yes we still use .INIs).

I've heard nothing but praise for SB and Friedrich, which of course is very
promising.

I haven't looked but does SB have an optional ZIP interface into the
installs it builds?
Wise can be configured to allow: ** C:\> pkunzip setup.exe ** as another
way to extract the files in the install without running the install.

NewsArchive
09-01-2006, 03:00 AM
On 31 Aug 2006 15:18:48 -0400, mark goldberg wrote:

> Yeah that's true, however do have a "client install" in order to add
> hardware drivers, short cuts and some INI files (yes we still use .INIs).

I'm guessing you forgot to type the "we" before "do have a" and therefore
you DO have a client install.

;-)

As for INI's - no problems in them from me.

I say you use what works for your needs<g>


> I've heard nothing but praise for SB and Friedrich, which of course is very promising.

Yes - Friedrich has worked his behind off on this stuff and knows what he
is doing. The results speak for themselves.



> I haven't looked but does SB have an optional ZIP interface into the
> installs it builds?
> Wise can be configured to allow: ** C:\> pkunzip setup.exe ** as another
> way to extract the files in the install without running the install.

Not sure on that one.

I have not had a need for it and have not looked at it, but I am sure
Friedrich can weigh in with the right answer.

;-)

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
09-01-2006, 03:01 AM
< see below >

> > Yeah that's true, however do have a "client install" in order to add
> > hardware drivers, short cuts and some INI files (yes we still use
..INIs).
>
> I'm guessing you forgot to type the "we" before "do have a" and therefore
> you DO have a client install.
>
> ;-)
>

Hey Charles, you read badly edited rambling programmer pretty well <BSEG>

mark goldberg

NewsArchive
09-01-2006, 03:01 AM
On 31 Aug 2006 22:47:00 -0400, mark goldberg wrote:

> Hey Charles, you read badly edited rambling programmer pretty well <BSEG>

"Been there - wrote that way myself<g>"



;-)

Charles


--
-------------------------------------------------------------------------------------------------------
Charles Edmonds

www.clarionproseries.com - "Serious imaging tools for Clarion Developers"
www.ezround.com - "Round Corner HTML tables with matching Banners, Buttons
and Forms!"
www.lansrad.com - "Intelligent Solutions for Universal Problems"
www.fotokiss.com - "World's Best Auction Photo Editor"
-------------------------------------------------------------------------------------------------------

NewsArchive
09-01-2006, 03:02 AM
Out of interest Mark, why is the help file called from the server, and not
installed on each workstation? I only ask as I use SB5 and it installs our
CHM help files into a SYNC folder on the server, FM3's autonet then copies
the contents of this folder to the workstation running the app. Works a
charm :)

Colin Wynn

NewsArchive
09-01-2006, 03:02 AM
That's not a bad way to get around the limitation.

I could write the same sort of logic that FM3's autonet must be using (I
paid for FM2 years and years ago, I supposed I could download it someday).
In any event, when I launch my app I could look for the .CHM on the local
drive, if the file doesn't exist, then I could copy it from a folder on the
server.

Which makes me wonder what logic is used when my app looks for a .CHM, IOW
where does it look? Oh, I guess that's under my control. I set the
HelpFile name inside of my ctCWHH.INIT (a wrapper class I wrote to clean up
SV's CWHH class). Currently I'm just passing in a relative path, so I guess
I could alter that logic to specifiy a local hard drive.

Q: Where does convention say I'm supposed to put the .CHM file?
Is it supposed to go in %windir%\help ?

If it goes there, then how will find that folder on the server (to copy the
file from)?
I suppose I could just duplicate the .CHM on the server leaving one in the
same folder as the .EXE and another in the servers %windir%\help folder.

FYI: The .EXE's location is retrieved via COMMAND('0')

-- Mark

NewsArchive
09-01-2006, 03:02 AM
Hi Mark,

>I want to know if SB has tackled the problem of using .CHM over a network.

I have no problems running CHM files over our network of the XPs that
use SP2 (think they have the latest updates). I don't have any of the
mentioned registry entries in my registries. The registries refer to
HTMLHelp/1.x but I have both 1.x and 2.0 in my registries.

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-01-2006, 03:03 AM
Mark,

I use SB to install my app with two switches : server or client install

When it is a client install ( being on the client computer) I put in
registry whatever I want and that's it ...:)

Originally I used not to use the installer for the clients but this way is
SO much easier ( also because the number of client installs is not
important)

That will solve your pb

JP

--

Thank you

Jean-Pierre GUTSATZ

Best Regards

NewsArchive
09-01-2006, 03:03 AM
Mark,

Double thinking and after reading Arnor's post : the app on the server calls
the CHM file on the server whever it is called from so I do not think you
have a pb there

Second point a CHM file is NOT an HTML page although it is an 'agglomerate'
of them so I think you are thinking ahead of Vista rules...:) no ?

JP

--

Thank you

Jean-Pierre GUTSATZ

Best Regards

NewsArchive
09-01-2006, 09:22 AM
Hi Arnor,

That's odd, I wonder what's different, everyone else seems to have a problem
running .CHM over a network. I'm wondering, what is your MaxAllowedZone set
to?

Can you please double check the registstry entries discussed in both of
these kb's
http://support.microsoft.com/kb/896358
http://support.microsoft.com/kb/896054

Mark Goldberg

NewsArchive
09-01-2006, 09:23 AM
Hi Jean-Pierre,

I'm not sure what Arnor is seeing / missing. As everyone else seems to be
running into this problem. My guess is that somewhere he has relaxed the
default security to make that work, or he has not applied the security patch
which alters windows behavior.

Please Try a quick test for me:
- Find a .CHM over your network and open it.
- Take a peek in the "%windir%\help" folder, there are hundreds sitting
there.
- When you open the file you will see the table of contents just fine,
however the topic will show an
"Action canceled window" the following copied from a .CHM over a network:

Action canceled
Internet Explorer was unable to link to the Web page you requested. The page
might be temporarily unavailable.

--------------------------------------------------------------------------

Please try the following:

a.. Click the Refresh button, or try again later.

b.. If you have visited this page previously and you want to view
what has been stored on your computer, click File, and then click Work
Offline.

c.. For information about offline browsing with Internet Explorer,
click the Help menu, and then click Contents and Index.




Internet Explorer

Mark Goldberg

NewsArchive
09-02-2006, 05:06 AM
Not sure there is a convention for help files, but I've always kept mine in
the same folder as the application (and from product's I've install this
seems to be the norm too), the path to our help file is just the help file
name, no drive or folder prefix.

You could just use the FM2 autonet, which is what I used to do before
upgrading to FM3 :)

Colin Wynn [Administer Software Ltd]

NewsArchive
09-02-2006, 05:07 AM
Hi Mark,

>running .CHM over a network. I'm wondering, what is your MaxAllowedZone set
>to?

Damn! I think I must have made a mistake, maybe picked the wrong
drive or something as now I can not open any chm files on that other
SP2 machine. Interesting. It does not look like it would be a big
problem setting those registry values to work though... Just fits to
create a new standard help format and then break it with security
fixes<bg>

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-02-2006, 05:07 AM
On 2 Sep 2006 01:03:23 -0400, Arnor Baldvinsson wrote:

> It does not look like it would be a big
> problem setting those registry values to work though...

The H&M utility they provide free sets them automatically. Command line
utility.
--

Mark

NewsArchive
09-02-2006, 05:08 AM
Mark,

Exact !!!
I had not opened a chm over a lan for some time
Thanks BG for this stupid security patch !!

Meaning we now have to find a registry way or in clarion give a local
redirection....

It was too easy to be left as is !

I'll try to ask Help&Manual what they think

JP

--

Thank you

Jean-Pierre GUTSATZ

Best Regards

NewsArchive
09-02-2006, 05:09 AM
Hi Jean-Pierre,

>Meaning we now have to find a registry way or in clarion give a local
>redirection....

It's all there:

http://support.microsoft.com/kb/896358
http://support.microsoft.com/kb/896054

Should be pretty simple really... Updating the registry in SB5 is
very simple.

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-02-2006, 05:09 AM
Now aren't you glad I raised this subject last month.... Unless you update
the registry you will run into all kinds of issues if you have an
application that runs via Terminal Services.

--

Ben E. Brady
The information contained in the message above, as expressed by the author,
is copyright 2006 by Ben E. Brady, All rights strictly reserved worldwide.
The information contained in the message above may not be posted on any
other information forum or web site without the express written permission
of the author.

www.clariondeveloper.com
www.singularvisionsoftware.com

NewsArchive
09-02-2006, 08:45 AM
> > It does not look like it would be a big
> > problem setting those registry values to work though...
>
> The H&M utility they provide free sets them automatically. Command line
> utility.

Mark, Thanks for pointing this out.

Here is the reference page for the utility (HHReg) with a brief explanation
that others may want to view.

HHReg is free for private and commercial use.
This utility is provided by EC Software GmbH, the makers of Help & Manual.

http://www.helpandmanual.com/products_hhreg.html

Product Description - Help & Manual, MFG - EC Software
Internet Link - http://www.helpandmanual.com/

David

>

--
From David Troxell - Product Scope 32 PRO - Encourager Software
Clarion Third Party Profile Exchange Online
http://encouragersoftware.com/profile/clarlinks.html
http://www.encouragersoftware.com/blog/
http://www.encouragersoftware.com/

NewsArchive
09-02-2006, 08:45 AM
BTW, I gave that same link when I started this thread.

mark goldberg

NewsArchive
09-02-2006, 08:46 AM
Hi Mark,

>The H&M utility they provide free sets them automatically. Command line
>utility.

Just use SB5. No need to install extra stuff to update a few registry
keys.

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-03-2006, 06:29 AM
Hi Mark,

>Q: Where does convention say I'm supposed to put the .CHM file?
>Is it supposed to go in %windir%\help ?
>
>If it goes there, then how will find that folder on the server (to copy the
>file from)?
>I suppose I could just duplicate the .CHM on the server leaving one in the
>same folder as the .EXE and another in the servers %windir%\help folder.

Most software I see installs the help either into the same folder as
the exe (if an exe is installed, otherwise in whatever directory is
picked as the root when you install) or into a Documents or Help
subfolder. I think the %windir%\help is reserved for the Windows OS
help, at least I don't see any helpfiles there that aren't part of the
OS install.

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-03-2006, 06:29 AM
Unless of course you are running an application under Terminal Services that
is shared amongst users and only want one copy of the help file in a shared
location for ease of configuration management and version control.

--

Ben E. Brady
The information contained in the message above, as expressed by the author,
is copyright 2006 by Ben E. Brady, All rights strictly reserved worldwide.
The information contained in the message above may not be posted on any
other information forum or web site without the express written permission
of the author.

www.clariondeveloper.com
www.singularvisionsoftware.com

NewsArchive
09-03-2006, 06:30 AM
On 2 Sep 2006 09:31:06 -0400, mark goldberg wrote:

> BTW, I gave that same link when I started this thread.

Yep.

FWIW, I use this in our installs. Works fine.
--

Mark

NewsArchive
09-03-2006, 06:30 AM
Hi Mark,

How are you using it?
Which registry entries are you making with it?

mark goldberg

NewsArchive
09-03-2006, 06:31 AM
On 2 Sep 2006 13:21:06 -0400, mark goldberg wrote:

> How are you using it?
> Which registry entries are you making with it?

I just run hhreg with the silent switch and the help file name on the
command line. Dont know what the registry entries are, dont care as long as
it works:)
--

Mark

NewsArchive
09-03-2006, 06:31 AM
Wonder if you could redirect the output to a text file. Then you could
easily add it to the SB script and such a tool won't be needed to be shipped
with your install.

JAT,

--
Russ Eggen
www.radfusion.com
IRC Info: www.radfusion.com/irc.htm
Freebies: www.radfusion.com/downloads.htm

NewsArchive
09-03-2006, 06:31 AM
Run RegMon from SysInternals, run the HHReg utility with a known CHM and
then check RegMon output for the keys...

--

Ben E. Brady
The information contained in the message above, as expressed by the author,
is copyright 2006 by Ben E. Brady, All rights strictly reserved worldwide.
The information contained in the message above may not be posted on any
other information forum or web site without the express written permission
of the author.

www.clariondeveloper.com
www.singularvisionsoftware.com

NewsArchive
09-03-2006, 06:32 AM
On 2 Sep 2006 14:15:35 -0400, Russell B. Eggen wrote:

> Wonder if you could redirect the output to a text file. Then you could
> easily add it to the SB script and such a tool won't be needed to be shipped
> with your install.

Its a 39k exe. I dont care if it ships. Ive already spent more time talking
about it than I spent implementing it:)
--

Mark

NewsArchive
09-03-2006, 06:32 AM
Hi Russ,

>Wonder if you could redirect the output to a text file. Then you could
>easily add it to the SB script and such a tool won't be needed to be shipped
>with your install.

I find this thread kind of comical. The information is all there:

http://support.microsoft.com/kb/896358
http://support.microsoft.com/kb/896054

I think this is the 5th time it's posted<g> If you need to check what
is being updated in registry use RegMon
(http://www.sysinternals.com/Utilities/Regmon.html) - it will tell you
exactly what has been updated in the registry. But since MS has
documented this, it's fairly stright forward to do a few minute
research and then put this into an include script for SB5 and be done
with it.

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-03-2006, 06:33 AM
On 2 Sep 2006 10:07:28 -0400, Arnor Baldvinsson wrote:

> Just use SB5. No need to install extra stuff to update a few registry
> keys.

SB5 is running hhreg:)
--

Mark

NewsArchive
09-03-2006, 06:34 AM
Hi Mark,

>SB5 is running hhreg:)

So are you saying that SB5 installs that and runs it automatically
or???? Sorry, but I have no idea what you are talking about:(

What exactly is the problem updating couple of keys in the registry
with SB5? This is documented, MSDN has the keys to update, so I guess
I just don't understand the problem...

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-03-2006, 06:35 AM
> So are you saying that SB5 installs that and runs it automatically
> or???? Sorry, but I have no idea what you are talking about:(

Yep, thats what I mean.

> What exactly is the problem updating couple of keys in the registry
> with SB5? This is documented, MSDN has the keys to update, so I guess
> I just don't understand the problem...

There is no problem. H&M told me the problem was fixed via HHReg, so I have
Sb5 run hhreg. Didnt say there is a problem with SB5 updating the registry.
Since there was already a tested solution, I saw no point in spending more
time on rolling my own.
--

Mark

NewsArchive
09-03-2006, 06:35 AM
Hi Mark

>> So are you saying that SB5 installs that and runs it automatically
>> or???? Sorry, but I have no idea what you are talking about:(
>
>Yep, thats what I mean.

Ok, think I've got the picture. _You_ install it using SB5 and then
call it. So it has nothing to do with SB5, but only _your_ install.
Your message made it sound like SB5 by default installed this utility
and ran it. There is a bit of a difference between SB5 and your SB5
_scripts/installs_<g>

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-03-2006, 06:36 AM
All,

To finalise this thread normally, here is the necessary reg key to use in
SB5 to have it register MY chm in installdir
Simply replace the cgf.chm name with your file or add extra lines if more
than one file

Extracted from HHREG .... and imported in SB5

JP

--

Thank you

Jean-Pierre GUTSATZ

Best Regards

NewsArchive
09-03-2006, 06:36 AM
Hi Jean-Pierre,

your file shows:
==================
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\HTML Help]
"cgf.chm"="%_SB_INSTALLDIR%"
==================

Which finally brings this thread back to where I started it. How do I get
the UNC equivalent of the Install folder.
To be as clear as possible: "F:\Program Files\Yada" isn't going to cut it,
instead we need "\\computerName\SharePoint\FolderA\FolderB"

- Mark

NewsArchive
09-03-2006, 07:34 AM
Mark,

As that reg key is within SB it is SB which will insert the installdir from
the installation on the client computer
As I mentioned, I use an installer (same one with a switch) to install my
app on the client computers on the lan so as to be sure they have the
correct dirs etc ...and this new reg key value now
You CANNOT from an installer tell him in advance to install in the clients
registry anything without having full admin rights and more specs I am not
aware of
So the only easy solution is either to have the installer with switch be run
from those client computers OR you write a clarion small exe with the same
value written to each computer and they run that small exe after filling in
the path to server installdir.....
I'm maybe wrong but that is how I feel things are in windows world with
server-client installs....

You want \\servername\folder\chm.file (or folders) but that needs to be
written not in the server registry but in the clients computers registry for
it to work (or am I wrong there)
So you need to access the client registry
So you need to run some exe from that client computer and back to the two
choices I pointed out

If you write that reg value in the server it will NOT be read by the client
computers when over the lan they try accessing your chm file -the client
cmputer needs to read in it's OWN reg file what chm files are ok or ko.....

JP

JP

--

Thank you

Jean-Pierre GUTSATZ

Best Regards

NewsArchive
09-03-2006, 07:35 AM
Mark,

If you only think putting the unc path is good enough in the server registry
then construct it by hand within SB - should be easy enough
Use a getreg to server unc name from reg and work from there....

For info in my app when I need the servername this is what I use :
GLO:hostname =
GETREG(REG_LOCAL_MACHINE,'SYSTEM\CurrentControlSet \Control\ComputerName\ComputerName','ComputerName' )


JP

--

Thank you

Jean-Pierre GUTSATZ

Best Regards

NewsArchive
09-04-2006, 12:06 AM
Hi Jean-Pierre,

>For info in my app when I need the servername this is what I use :
> GLO:hostname =
>GETREG(REG_LOCAL_MACHINE,'SYSTEM\CurrentControlSet \Control\ComputerName\ComputerName','ComputerName' )

This will give you the _local_ computer name, not the server name if
you are not installing this on the server.

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-04-2006, 12:07 AM
Hi Mark,

>[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\HTML Help]
>"cgf.chm"="%_SB_INSTALLDIR%"
>==================
>
>Which finally brings this thread back to where I started it. How do I get
>the UNC equivalent of the Install folder.
>To be as clear as possible: "F:\Program Files\Yada" isn't going to cut it,
>instead we need "\\computerName\SharePoint\FolderA\FolderB"

Create a small dll in Clarion or C or whatever, that has one procedure
that takes a path and returns a string. Then use WNetGetConnection
API to get the server name. Here is something that I use:

!================================================= =============================
GetNetworkDriveName Procedure(String pDrive)!,String
!------------------------------------------------------------------------------
Buf CString(260)
Res Unsigned
BufS ULong
Ln CString(260)
L Short
Code

Buf = ''
BufS = Size(Buf)
Ln = Clip(pDrive)
L = Len(Ln)
If Ln[L] <> ':'
Ln = Ln & ':'
End
Res = ITN_WNetGetConnection(Ln,Buf,Bufs)
If Res <> ITN_NO_ERROR
Buf = Clip(pDrive)
End
Return(Buf)

Pass it the drive letter as 'P' or 'P:' and it will return something
like:

\\Abcompaq3200\PRES_C200

Then just parse out the server name and return it to SB5. Then you
just need to include the dll with your script and call it from SB5
when you need to and you should be able to do what you need fairly
easily:)

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-04-2006, 12:07 AM
Hi Mark,

>Create a small dll in Clarion or C or whatever, that has one procedure
>that takes a path and returns a string. Then use WNetGetConnection
>API to get the server name. Here is something that I use:

Note that my suggestion works if you are _not_ installing from the
server. If you need the local server name you can use the
Computername (SB can retrieve that for you directly) Also take a look
at WNetGetUniversalName to convert a drive based filename/path to UNC.

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-04-2006, 12:08 AM
On 3 Sep 2006 13:16:19 -0400, Arnor Baldvinsson wrote:

> GetNetworkDriveName Procedure(String pDrive)!,String

That looks familiar<g>
--

Mark

NewsArchive
09-04-2006, 12:08 AM
Hi Mark,

>> GetNetworkDriveName Procedure(String pDrive)!,String
>
>That looks familiar<g>

Yep, same stuff;)

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-04-2006, 07:39 AM
Arnor,

That code is in the app installed on the server and I get the computer name
which is the lan unc server name used when preceeded by \\ or did I again
miss school that day ? <G>

JP

--

Thank you

Jean-Pierre GUTSATZ

Best Regards

NewsArchive
09-04-2006, 07:40 AM
Hi Mark,

FYI: we have added a new "UNC From Network Drive Letter" option to the "Get
System Information" script function. This will be available in the next
build.

Thanks,
Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
09-04-2006, 08:21 AM
Friedrich,

Thank you, very much. I must say that you clearly provide EXCELLENT
SERVICE. Something I would never expect to receive from Wise and the like.

Thanks again,
Mark Goldberg

NewsArchive
09-04-2006, 08:22 AM
Mark,

Thank you for your kind words :)

Friedrich

NewsArchive
09-05-2006, 03:24 AM
Hi Jean-Pierre,

>That code is in the app installed on the server and I get the computer name
>which is the lan unc server name used when preceeded by \\ or did I again
>miss school that day ? <G>

In that case it would work fine, but if you are installing on a
workstation and some of the files are installed on a server, you need
to be able to convert a mapped drive, such as P:\, to a UNC path. In
that case the computer name is not going to help but you can use the
network apis to figure it out. My network class can do that with both
local and mapped drives which makes it possible for me to set the UNC
path to local shares also:)

Best regards,

Arnór Baldvinsson
Icetips Software
San Antonio, Texas, USA
www.icetips.com


Subscribe to information from Icetips.com:
http://www.icetips.com/subscribe.php

NewsArchive
09-05-2006, 03:25 AM
Arnor,

From a workstation, the user has to go on the server and chose the app exe
and path so....smiles

Merci

JP


--

Thank you

Jean-Pierre GUTSATZ

Best Regards

NewsArchive
09-06-2006, 04:39 AM
Mark,

Sorry, did not mean to steal your URL thunder! :-) - this thread turned into
a very lengthy one, so I did not review all the previous entries. Never
hurts to repeat an URL, though either.

Many thanks to the EC Software (http://www.helpandmanual.com/) for providing
the utility. Definitely another great company that has a terrific track
record in public relations, marketing, support, and outstanding product
line.

David