NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT MVPMCX2 and other NMT stuff v
1 2 3 4 5 … 37 Next »
ShareHelper utility

 
  • 0 Vote(s) - 0 Average
ShareHelper utility
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#51
2011-08-01, 11:03 PM
I'm having a bit of a problem with Sharehelper2. My system is Windows XPSP3 & the share I'm trying to connect to is a Windows 2000SP4. The share works fine in local mode and I can copy files back and forth with a .bat file run from the command line so I'm fairly confident it's not a rights issue.

I put sharehelper2.exe and the ShareHelper.xml in the "C:\Program Files\NPVR\" folder. When I try to install the program by typing "C:\Program Files\NPVR\sharehelper2.exe" /i it acted like it was installing, showing the hourglass for several seconds and the DOS window flashing open and closed. However, when I checked services it didn't show up. So I checked the install log I get the following:
Code:
Installing assembly 'C:\Program Files\NPVR\sharehelper2.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = C:\Program Files\NPVR\sharehelper2.exe
   logfile = C:\Program Files\NPVR\sharehelper2.InstallLog
Installing service ShareHelper...
Service ShareHelper has been successfully installed.
Creating EventLog source ShareHelper in log Application...
Rolling back assembly 'C:\Program Files\NPVR\sharehelper2.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = C:\Program Files\NPVR\sharehelper2.exe
   logfile = C:\Program Files\NPVR\sharehelper2.InstallLog
Restoring event log to previous state for source ShareHelper.
Service ShareHelper is being removed from the system...
Service ShareHelper was successfully removed from the system.

For some reason it appears to be installing, but then it un-installs itself.

My ShareHelper.xml is simple, just one share:
Code:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add drive="n:" share="\\Server\recorded_tv" username="guest" password="guest"/>            
       </appSettings>
</configuration>

Were am I going wrong?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,118
Threads: 957
Joined: May 2006
#52
2011-08-01, 11:35 PM
If you change ShareHelper.xml for \\Server to use the IP does it work? If not does ShareHelper.log get created in the log folder? If so, does it show any error?

Martin
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#53
2011-08-02, 12:51 AM
The log file gets created in "C:\Program Files\NPVR", the same location Sharehelper2.exe is located. I tried it again with the IP address and this ShareHelper.xml

Code:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
    <add share="\\192.168.1.50\recorded_tv" username="guest" password="guest"/>            
       </appSettings>
</configuration>

Same result, installed and then un-installed itself

Code:
Installing assembly 'C:\Program Files\NPVR\sharehelper2.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = C:\Program Files\NPVR\sharehelper2.exe
   logfile = C:\Program Files\NPVR\sharehelper2.InstallLog
Installing service ShareHelper...
Service ShareHelper has been successfully installed.
Creating EventLog source ShareHelper in log Application...
Rolling back assembly 'C:\Program Files\NPVR\sharehelper2.exe'.
Affected parameters are:
   logtoconsole =
   assemblypath = C:\Program Files\NPVR\sharehelper2.exe
   logfile = C:\Program Files\NPVR\sharehelper2.InstallLog
Restoring event log to previous state for source ShareHelper.
Service ShareHelper is being removed from the system...
Service ShareHelper was successfully removed from the system.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,118
Threads: 957
Joined: May 2006
#54
2011-08-02, 12:54 AM
Is there a log in the NPVR log folder?

Martin
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#55
2011-08-02, 01:01 AM
No log in the "C:\Documents and Settings\All Users\Application Data\NPVR\Logs"

Just the "ShareHelper2.InstallLog" in the directory "C:\Program Files\NPVR"
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,118
Threads: 957
Joined: May 2006
#56
2011-08-02, 01:42 AM
Are you installing as an administrator account? Unfortunately the Install code is really all done by .NET so I can't really answer why it doesn't work (and I don't have an old XP system around to try it on). The main assumption there is localsystem doesn't need a username password.

The only other thing that I can see is it isn't finding the temp folder from the environment, try adding a C:\TEMP folder

Martin
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#57
2011-08-02, 02:07 AM
Yes, I'm using the administrator account and there is a C:\temp directory. Even tried to rename the directory to C:\TEMP and C:\Temp with the exact same result in the log.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,118
Threads: 957
Joined: May 2006
#58
2011-08-02, 02:25 AM
What about about putting ShareHelper.xml in "C:\Documents and Settings\All Users\Application Data\NPVR\" ?

Martin
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#59
2011-08-02, 11:16 AM
Tried a copy of ShareHelper.xml in "C:\Documents and Settings\All Users\Application Data\NPVR\", "C:\temp" and "C:\" and the result was the same.

The only thing I see that might be is the install log entry "logtoconsole =" is it supposed to be blank or is it looking for a variable of some sort?
snagglewest
Offline

Senior Member

VA USA
Posts: 361
Threads: 60
Joined: Jul 2011
#60
2011-08-02, 11:26 AM
Ok, I just found the InstallUtil.InstallLog file in the "C:\Program Files\NPVR\" directory

Code:
Running a transacted installation.

Beginning the Install phase of the installation.
See the contents of the log file for the C:\Program Files\NPVR\sharehelper2.exe assembly's progress.
The file is located at C:\Program Files\NPVR\sharehelper2.InstallLog.

An exception occurred during the Install phase.
System.ArgumentException: Source ShareHelper already exists on the local computer.

The Rollback phase of the installation is beginning.
See the contents of the log file for the C:\Program Files\NPVR\sharehelper2.exe assembly's progress.
The file is located at C:\Program Files\NPVR\sharehelper2.InstallLog.

The Rollback phase completed successfully.

The transacted install has completed.

It looks like it's saying ShareHelper already exists, but it doesn't show up in the services.

Maybe I need to completely uninstall it? Is there a registry key or something made that I need to remove?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (8): « Previous 1 … 4 5 6 7 8 Next »
Jump to page 


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode