Update: UltraVNC 1.4.3.6 and UltraVNC SC 1.4.3.6: viewtopic.php?t=37885
Important: Please update to latest version before to create a reply, a topic or an issue: 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://twitter.com/ultravnc1
- Reddit community: https://www.reddit.com/r/ultravnc
- OpenHub: https://openhub.net/p/ultravnc

New Setup with option for automated MSLogon II configuration

Post Reply
Marscha
Former moderator
Former moderator
Posts: 464
Joined: 2004-05-14 06:48

New Setup with option for automated MSLogon II configuration

Post by Marscha »

I added options for automated MSLogon II and Admin Properties configuration to the setup.
Find the instructions and download location at http://doc.uvnc.com/install/installation2.html
It's based on 1.0 RC20.5
Marscha
Former moderator
Former moderator
Posts: 464
Joined: 2004-05-14 06:48

Post by Marscha »

Improved the setup for silent/verysilent installations.
sgt-d
40
40
Posts: 81
Joined: 2005-03-29 04:46
Contact:

Post by sgt-d »

ok... this is awesome... and it does what a lot of people have requested for a while now: simpler deployment to multiple workstations.

there is one anomaly with this though... when using /silent and /verysilent - the vnc server service does restart, but the winvnc tray icon never shows back up in the system tray.

anyway, it works great... you can even add your command to a batch file... for example, you could write a batch to add users/passwords and localgroups, possibly copy in plugins and your rc4 key, then finally call the automated installer to do everything else.

one other thing... i would also like to import other registry settings as well, such as turning off forceguest.

nice work!
Last edited by sgt-d on 2005-05-06 14:22, edited 1 time in total.
Marscha
Former moderator
Former moderator
Posts: 464
Joined: 2004-05-14 06:48

Post by Marscha »

sgt-d,

thanks for the praise :D
I could activate the winvnc system tray icon.
But I thought there was a reason why it's not activated in Rudi's original setup.
With the /props switch you can load any registry setting 8)

I'm currently optimizing the setup:
- choosing props and acl files interactively for non-silent setups
- writing these choices to the setup ini file
- reading these settings during silent setups
Then I'll ask Rudi if we could use the setup as standard for future releases.

Please let me know if we need anything further.

Martin
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

Marscha

so you are very couragous and make a very good job for improving clean setup for any level of users :D

in this way...
Can you do some improvement for continue your so nice setup that
  • install only files needed on checked OS
  • do not install mirror driver available only for NT/2000/XP/2003 on a 9x/ME ;-)
  • fix automatic upgrade versus new install on computer have already UVNC RC18/RC19/20
Without all new fix setup can broken all your effort about setup and UltraVNC staff too. :oops:

All your effort would be would be greatly appreciated :-)
So
and I give a big donation to great job of UltraVNC staff @sf.net when UltraVNC 1.0 is officially released to encourage to continue your developpment build V1.1 and futur V2.0 project on Longhorn with video hook driver x64bit and many other nice features.
That's all.
Last edited by redge on 2005-05-09 21:50, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
sgt-d
40
40
Posts: 81
Joined: 2005-03-29 04:46
Contact:

Post by sgt-d »

marscha... no, i think the functionality that it has now, plus the new abilities you have mentioned pretty much nail it right on the head. this will make deployment very simple for everyone.

as for /props and working with other reg keys... nice, going to try this in a minute.

the only thing that i would really like to see work a little better - although this has nothing to do with your new installer - and you have already mentioned that it is a high priority - is automatic logins based on windows authentication credentials as mentioned in my previous post.

i'm pretty excited about this new installer though... :)
Marscha
Former moderator
Former moderator
Posts: 464
Joined: 2004-05-14 06:48

Post by Marscha »

redge, stg-d,

thanks for the feedback.
I'll add appropriate OS checks for the driver files and MS-Logon II.
Which other files are OS specific?
I think that upgrade vs. new install should work with the new setup.
But I have not tested it with RC18/19/20.

Martin
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

Marscha
Which other files are OS specific?
language setting, registry hive
  • do not install another language like german on french installation ;-)
  • need registry inconsistency cleaning /right control access to hive HKLM and HKCU
    and ORL TightVNC and UltraVNC
    for user want to replace/upgrade realvnc, tightvnc to UltraVNC
  • suggest, clean password system level or user level before install ?
I think, now, is complete, full and strong setup wizard.
Less support setup problem, better is software, happy end-user/customer/technician/dev :D

I'm already happy to try your finalized setup wizard :-)
Last edited by redge on 2005-05-10 08:31, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Marscha
Former moderator
Former moderator
Posts: 464
Joined: 2004-05-14 06:48

Post by Marscha »

Language files: Setup installs the chosen language, other language files are stored in a subdir but not active.
Seems OK to me.
Registry: Added optional task which deletes
HKLM\Software\ORL
HKLM\Software\UltraVNC
HKCU\Software\ORL
HKCU\Software\UltraVNC
I don't understand your question about password. What should setup do?

Havin a ftp proxy problem, so the updated setup is not uploaded yet.
Hope that tomorrow the proxy is OK.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

other language files are stored in a subdir but not active.
OK, lang folder to be deleting later.
I can understand for someone need support multi-language OS and any application.
I don't understand your question about password. What should setup do?
It works when user is logged on...but not as service
[topic=58][/topic]
deleting the 5 hives you wrote solve any error of old password stored.
edit:
copy message of Rudi De Vos
HKLM
HKCU
HKU .default

/software/orl

If you remove the orl software , all keys are gone
end edit

I forgot to ask update content of folders:
  • doc_nat2nat , experimental really necessary for release UVNC 1.0 ?
  • doc_mslogon up to date ?
  • doc_repeater up to date ?
  • new_doc_uvnc_cmd_host+viewer with example viewer and server with and without repeater and correct argument order usage.
  • plugin
    • dsmplugin 1.1.6 --> OK
    • readme.txt --> NOK (MSRC4Plugin v1.1.5 - Win32 - 2/18/2005)
    • whatsnew.txt --> NOK (Version 1.1.5 - 2/14/2005)
end... UltraVNC really the cream of the cream. :D
Last edited by redge on 2005-05-10 18:37, edited 2 times in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
Marscha
Former moderator
Former moderator
Posts: 464
Joined: 2004-05-14 06:48

Post by Marscha »

added removal of \\HKU\.default\Software\ORL
(But I think that Rudi referres to \\HKLM\Software\ORL\WinVNC3\Default :D )
Documentation is already an exact copy of http://doc.uvnc.com/
Marscha
Former moderator
Former moderator
Posts: 464
Joined: 2004-05-14 06:48

Post by Marscha »

Finally managed to upload the changes.
Please test and comment.
You can find the InnoSetup script here: http://doc.uvnc.com/UltraVNC.iss
And a zip file with everything here: http://doc.uvnc.com/UltraVNC-1.0.20.5.zip
Last edited by Marscha on 2005-05-13 08:34, edited 1 time in total.
redge
1000
1000
Posts: 6797
Joined: 2004-07-03 17:05
Location: Switzerland - Geneva

Post by redge »

Marscha,

Until UltraVNC plugin can check itself is really in the plugin folder,
Can you back to put dsmplugin in main program folder ;-)

so, less loss time for any user level knowledge for use dsmplugin :-)

thank you a lot
Last edited by redge on 2005-05-14 11:06, edited 1 time in total.
UltraVNC 1.0.9.6.1 (built 20110518)
OS Win: xp home + vista business + 7 home
only experienced user, not developer
sgt-d
40
40
Posts: 81
Joined: 2005-03-29 04:46
Contact:

Post by sgt-d »

uh... holy bad! :crazy:

omg...

this is unbelievable... nice work marscha!

i am looking for a way to make inno build an exe that can do everything automatically without using any command line arguments or using a batch file.

there must be a way to do it. in other words, inside the inno script i would like to script something that tells the exe to auto-exec (unattended) and automatically select some of the options - just like we are doing in the inf file - but without actually using a command line argument to tell the exe to load the inf file.

i also need to add users/groups which i am doing in a separate batch file now using net commands.

there has to be a way to do these things... time to do some research.

anyway, this is awesome!!!

ok, back to testing...
[mod=494,1127739894]replaced bad word[/mod]
Last edited by sgt-d on 2005-09-26 13:04, edited 1 time in total.
sgt-d
40
40
Posts: 81
Joined: 2005-03-29 04:46
Contact:

Post by sgt-d »

ok, before i mention my results... don't stop working on this. heh. custom setups are hands down the simplest way for mass distribution.

i couldn't find a setting in inno setup to automatically execute, so i made a simple gui that offers options to install ultravnc and the video driver.

the install button in my gui fires the real setup program with the /silent option and also tells it to load uvnc.inf.

the problem i am having is that even though i have included acl.txt and props.reg in my inno setup source folder and i have verified that the files are copied out to the temp folder during installation --- the installer fails to use them correctly no matter what i try UNLESS i specifically point to them with uvnc.inf - which i don't really want to do. another restriction to the inf approach is that the two files must be in the same folder as the setup - you can't specify a full qualifying path or they fail to work every time.

i would like the inno setup to use the two files that i have included in the src folder (later copied to temp) - but i haven't seen it work successfully once on either xp pro 32-bit or 64-bit.

i found a way to exec net commands from inno setup, so i am fully able to create new groups and users "on the fly" through my installer.

there are only a few outstanding issues that need to be addressed:
  • the ability to auto install without using an inf
    the ability to use acl.txt and props.reg without the inf
    the ability to pre-select different options for the installer (service, icons, etc) without an inf
    oh, and video drivers for windows xp pro 64-bit :p
other than that, this is the best solution possible.

this would get it down to a "one file" solution, with no special startup parameters.

right now i am packing my gui, the real setup, the inf file and the acl/props files into a 7-zip installer, so as far as the end user can tell it's really only one file, but it's an extra step for me to repackage multiple files each time, and not everyone will be able to do that easily.

if we can get auto install to work just thru a change in the inno iss file, and get acl/props working from the real setup, that's 99% of the battle.

i can wait another week (max) for the 64-bit video driver.

thanks again marscha, and... great work!
Last edited by sgt-d on 2005-05-23 03:56, edited 3 times in total.
TechFan
Former moderator
Former moderator
Posts: 47
Joined: 2004-05-03 10:34

Post by TechFan »

Looking good. Just used it for the first time today to roll out client to a bunch of computers. . .still have to manually run the driver setup and copy the plugin files to "root" folder. . .will have to take a look at the script and see if that can be added as well.
sgt-d
40
40
Posts: 81
Joined: 2005-03-29 04:46
Contact:

Post by sgt-d »

*whew*... i was starting to think this thread was dead.

i ran into similar problems, as mentioned above, so i started working on a solution.

it's almost ready.

i will post my package here shortly.
sgt-d
40
40
Posts: 81
Joined: 2005-03-29 04:46
Contact:

Post by sgt-d »

project x103 rev.a 6/11/05 12:42 AM

massively edited, several times over... :crazy:

this project is for testing and for program theory only.

you can run the sample installer (exe) below, but you might not like some of my settings. it is simply here for demonstration purposes.

the source package contains everything needed to build your own custom ultr@vnc installer, including all of the newest plugins.

with the source package you also have the ability to rebuild the distribution package for a 100% silent/automatic install. making a silent install has now been oversimplified and is now extremely easy to accomplish. this new ability also eliminated the need for two separate sets of "normal" and "silent" install/source packages.

the readme file has been updated as well and is included in the source package or from the link below.

103-a fixes: removed reg files (now controlled thru gui source code), props.reg didn't work on win9x (fixed), password can be controlled with pass.txt, other fixes.

102-d fix: the real ultr@vnc installer was running completely hidden (/verysilent) even when x.cfg auto=0. now the real installer is only fully hidden if auto=1. if auto=0 then /silent (automatic + visible) is used. if auto=1 then /verysilent (automatic + hidden) is used.

screenshots:
http://mpp.gnbits.com/files/x103a.png
http://mpp.gnbits.com/files/x103b.png

sample installer (exe)
http://mpp.gnbits.com/files/x103a.exe

sample source package (7z)
http://mpp.gnbits.com/files/x103a.7z

readme
http://mpp.gnbits.com/files/x103a.txt
Last edited by sgt-d on 2005-06-11 05:49, edited 9 times in total.
TechFan
Former moderator
Former moderator
Posts: 47
Joined: 2004-05-03 10:34

Post by TechFan »

I am guessing the 7z and exe are supposed to have a "b" after them. . .
sgt-d
40
40
Posts: 81
Joined: 2005-03-29 04:46
Contact:

Post by sgt-d »

sorry, i didn't think that anyone would download them quite that fast.

yes, please delete the original files and download the new ones.

i noticed a problem after testing and had to correct them.

if you need any help at all with this, reply to the forum or grab my email from the x102 package.

let me know what you think.

this does everything i need it to, plus.
Last edited by sgt-d on 2005-06-07 16:23, edited 1 time in total.
TechFan
Former moderator
Former moderator
Posts: 47
Joined: 2004-05-03 10:34

Post by TechFan »

Well, I would really like to still have a totally silent install. . .I have the other "new" installer run as part of the login script. I already have all the settings set, but just would like it to install the driver and put the plugin files in the "root" folder. . .and still be totally silent. :-)
sgt-d
40
40
Posts: 81
Joined: 2005-03-29 04:46
Contact:

Post by sgt-d »

i am after the same thing really, i would like complete control in through the iss/inf settings. but there's no way to select a plugin or do various other tasks. like, you can setup ms logon - but only so far. you can turn it on or off, and you can set the groups for ms logon inside winvnc - but windows never creates the user/group accounts.

my project takes care of those extras for now and works the way most people would probably use it. a network admin with a mixture of 9x/nt/xp boxes would want to be asked whether or not to install the video driver or ms logon, and to select their plugin.

since this is the first public offering it is very rough, but i can do anything with it.

i can easily make another package that creates a silent installer, but i would need to know what the default scenario is - like what plugin to use every time, whether or not to use ms logon or to install the drivers, etc.

i will try to package a silent version later today. in the mean time, see if this does everything you need it to do. if you see anything wrong let me know.
TechFan
Former moderator
Former moderator
Posts: 47
Joined: 2004-05-03 10:34

Post by TechFan »

Will try it tomorrow if I get a chance (well, later today). It is 3am already and I need to sleep before work comes again.

EDIT:
I like the way I can have the installer look to my reg and inf files externally. . .that way my settings are independant of the installation package. . .if I could just pass the option to install the driver all would be great. . ;-) I would think changing the iss script to put the plugin in the main folder would be simple enough. . .the setups I ran today had the plugin enabled already after I copied the files and key manually. . .created on a box that was configured how I wanted it.
Last edited by TechFan on 2005-06-07 16:54, edited 1 time in total.
sgt-d
40
40
Posts: 81
Joined: 2005-03-29 04:46
Contact:

Post by sgt-d »

i updated my original post, including silent installer/source.

[post=11881][/post]

you can use your own reg and inf files still. i can also help you merge your settings into the source reg files.

edit...

updated original post again, wed 6/8/05 9:52 am - rev.d
Last edited by sgt-d on 2005-06-08 14:52, edited 3 times in total.
sgt-d
40
40
Posts: 81
Joined: 2005-03-29 04:46
Contact:

Post by sgt-d »

i am noticing that ultr@vnc setup is halting at the extracting files process on all of my windows 98 boxes. is this a problem with inno setup?

i also updated my original post, including silent installer/source (again).

[post=11881][/post]
rmsands
Posts: 2
Joined: 2005-09-09 12:24

Trouble with links

Post by rmsands »

I am unable to access the information at your links. Is the site down? Could you plese post at an alternate location.

Thanks.
Robert Sands
sgt-d
40
40
Posts: 81
Joined: 2005-03-29 04:46
Contact:

Post by sgt-d »

this thread stopped (abruptly) almost exactly 3 months ago.

the 1.00 and 1.01 releasesboth include downloads that contain the inno setup scripts and all of the files you want to include in your distribution.

let me know if this helps!
rmsands
Posts: 2
Joined: 2005-09-09 12:24

Trying to install server only with inf file

Post by rmsands »

Thanks. I used the regular install with an inf file.
Last edited by rmsands on 2005-09-12 19:58, edited 1 time in total.
Robert Sands
Post Reply