Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: https://forum.uvnc.com/viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
Important: Please update to latest version before to create a reply, a topic or an issue: https://forum.uvnc.com/viewtopic.php?t=37864
Join us on social networks and share our announcements:
- Website: https://uvnc.com/
- GitHub: https://github.com/ultravnc
- Mastodon: https://mastodon.social/@ultravnc
- Facebook: https://www.facebook.com/ultravnc1
- X/Twitter: https://x.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc
error "uvnc_service already installed, Remove ?" [SOLVED]
error "uvnc_service already installed, Remove ?" [
when pushing this script out through my KBOX, i keep getting this message. The user then needs to select yes or no in order for the installtion to continue. How do i bypass or get rid of this message and just do the silent install? Please help.
Last edited by mazostyle on 2010-04-26 15:46, edited 1 time in total.
Re: help: error "uvnc_service already installed, Remove
Can't you just script a removal of the service first? There's a command line argument for it.
Re: help: error "uvnc_service already installed, Remove
how do i do that? and i guess where do i do that - in the ini file? what would the line have to read exactly?
Re: help: error "uvnc_service already installed, Remove
The primitive way to do it (the one I would use) is in a batch file.
The "right" way to do it is to modify the installer to handle this approach.
The developers can probably give you better guidance than this, though.
Problem is you'll probably need to know the path where VNC is already installed in order to remove it.winvnc -remove
yourinstallername.exe
The "right" way to do it is to modify the installer to handle this approach.
The developers can probably give you better guidance than this, though.
Re: help: error "uvnc_service already installed, Remove
let's assume C:\Program Files\UltraVNC is the default dir. What would the batch file look like then? I am a newbie to this so the more explanation of this the better. I'm assuming Id have to write this in notepad and save it as a *.bat file as well....
Re: help: error "uvnc_service already installed, Remove
Exactly. You've got it. Create something like "deploy.bat" in Notepad.
You could wrap that (the batch file and installer executable) up in a ZIP or something and insert it as a package as described on page 79 at http://www.scribd.com/doc/242223/KBOX-A ... r-Guide-33c:\progra~1\UltraVNC\winvnc.exe -remove
UltraVNC_1.0.8.2_Setup.exe
Last edited by B on 2010-04-19 17:00, edited 1 time in total.
Re: help: error "uvnc_service already installed, Remove
dammit. I can't figure this out. I do know in the UltraVNC folder there is a file called check_install.exe, and when i run it, it checks the service then gives me that "uvnc_service already installed, Remove ?" message. Is there maybe a way to edit the original 1.0.8.2 setup file so it doesnt include that file or something?
Re: help: error "uvnc_service already installed, Remove
The -remove option is supposed to completely stop and remove the UVNC service, so that by the time your installation "checks", there won't be anything there. Is that not working? You might need to add a delay or some more advanced logic between the two lines of the batch file...
Edit: I just saw your other post. I wasn't familiar with the KBOX script language, but it appears you can launch whatever you need from one of those "CMD.EXE" calls, <b>instead</b> of using a batch file. In other words, just insert a CMD.EXE call to do the winvnc.exe "with params" -remove.
Edit: I just saw your other post. I wasn't familiar with the KBOX script language, but it appears you can launch whatever you need from one of those "CMD.EXE" calls, <b>instead</b> of using a batch file. In other words, just insert a CMD.EXE call to do the winvnc.exe "with params" -remove.
Last edited by B on 2010-04-19 19:37, edited 2 times in total.
Re: help: error "uvnc_service already installed, Remove
what would the param line read? sorry im stupid...
Re: help: error "uvnc_service already installed, Remove
Seriously? Well, I haven't used the KBOx stuff, but based on your example I think it would go:
Launch “C:\Program Files\UltraVNC\winvnc.exe†with params “-remove“â€.Edit
and you'd put it before the lines that launch the installer.
Launch “C:\Program Files\UltraVNC\winvnc.exe†with params “-remove“â€.Edit
and you'd put it before the lines that launch the installer.
Re: help: error "uvnc_service already installed, Remove
so i edited the install. here's what the line looks like now
Launch “C:\Program Files\UltraVNC\winvnc.exe†with params “-removeâ€.
i didnt have to access cmd.exe ? cuz when i try to run the script, it doesnt work. it hangs and doesnt complete.
Launch “C:\Program Files\UltraVNC\winvnc.exe†with params “-removeâ€.
i didnt have to access cmd.exe ? cuz when i try to run the script, it doesnt work. it hangs and doesnt complete.
Re: help: error "uvnc_service already installed, Remove
i rebooted my machine and the cmd works, however the problem remains the same. I even have a new popup that happens right b4 the install and it reads: "WinVNC Usage (Title of msg window) - "winvnc[-sc prompt][-sc_exit][id:??????][autoreconnect[id??????]] " and so on...any ideas now? thanks for your help so far by the way
Re: help: error "uvnc_service already installed, Remove
So it ran the WinVNC.exe but it did NOT accept the parameter properly. The window you got is what happens if you enter winvnc.exe at a command line with an incorrect parameter.
I just verified at http://www.uvnc.com/install/cmdline.html that "-remove" is the correct parameter, so it's a matter of the KBOX syntax at this point.
But as noted, I do NOT know that KBOX script language.
Any reason you left off the .Edit part? I was copying the syntax from your code example in the other thread.
Just as a suggestion, perhaps you can find someone local to you who can assist? These are kind of dangerous tools to be messing with as a newbie.
I just verified at http://www.uvnc.com/install/cmdline.html that "-remove" is the correct parameter, so it's a matter of the KBOX syntax at this point.
But as noted, I do NOT know that KBOX script language.
Any reason you left off the .Edit part? I was copying the syntax from your code example in the other thread.
Just as a suggestion, perhaps you can find someone local to you who can assist? These are kind of dangerous tools to be messing with as a newbie.
Re: help: error "uvnc_service already installed, Remove
what would i type to incorporate "sc stop uvnc_service
sc delete uvnc_service" as this cmd worked when i typed it in manually b4 i ran the install
sc delete uvnc_service" as this cmd worked when i typed it in manually b4 i ran the install
Re: help: error "uvnc_service already installed, Remove
I can manually delete the service, then i dont get the message during the install. I open cmd.exe and type in "sc delete uvnc_service" Then i push VNC out through my kbox, and it works. I just cant figure out the right way to enter in the script to execute that cmd line. Here's how I have it now:
Launch “SYS\cmd.exe†with params “sc delete uvnc_serviceâ€
all it does is freeze. if i remove this parameter, the install completes, but still prompts the user to unistall the service. any ideas??
Launch “SYS\cmd.exe†with params “sc delete uvnc_serviceâ€
all it does is freeze. if i remove this parameter, the install completes, but still prompts the user to unistall the service. any ideas??
Re: error "uvnc_service already installed, Remove ?&quo
just launch a batch file. It was an option that i selected in the kbox script editor. in the text box i just typed in "sc stop uvnc_service sc delete uvnc_service" the end!