MSFN Forum: *my gift to all of you* - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

*my gift to all of you* window washer ! fully silent Rate Topic: -----

#1 User is offline   crystalxp 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 05-February 06

  Posted 19 April 2006 - 02:22 PM

Hi all :hello:
First of all I would like to thank each one of you for the great support and knowledge you guys delivered in the forum …

Today I've finished integrating my last program #60 into my unattended cd which is window washer 6.0.2.466 retail version, therefore I have decided to share it with whom ever interesting to have it … just pm me and I'll email it to you as soon as I get to your pm.

No need for auto-it script or a switch or anything else it's a fully silent installer, created using InstallRite , but I have a small question about the registry to make it functions just the way it should.

That's what I found in one of the entries:

[HKEY_CURRENT_USER\Software\Webroot\Window Washer\Paths]
"WINDOWS"="C:\\WINDOWS"
"SHARED"="C:\\Program Files\\Common Files\\Webroot Shared"
"COOKIES"="C:\\Documents and Settings\\SHARAF\\Cookies"
"CACHE"="C:\\Documents and Settings\\SHARAF\\Local Settings\\Temporary Internet Files"
"HISTORY"="C:\\Documents and Settings\\SHARAF\\Local Settings\\History"
"RECENT"="C:\\Documents and Settings\\SHARAF\\Recent"
"TEMP"="C:\\DOCUME~1\\SHARAF\\LOCALS~1\\Temp"
"AIM"=""
"AOL"=""
"ICQ"=""
"MSN"="C:\\Program Files\\Messenger"
"YHO"=""
"FOX"=""
"INSTALL"="C:\\Program Files\\Webroot\\Washer"
"KEEP"="C:\\Documents and Settings\\SHARAF\\Application Data\\Webroot\\Washer"


In these entries you can realize that's SHARAF is the account name created know, and most of these keys are aiming to SHARAF's Documents and Settings , WILL SO, THAT MEANS I HAVE TO CREATE AN ACCOUNT CALLED SHARAF DURING MY UNATTENDED INSTALLATION TO ASSIGN THESE ENTRIES TO IT.

So how can I make these entries works for any user created during the unattended installation not just SHARAF?

I tried using %AllUsersProfile% but didn't work i.e. :

"CACHE"="%AllUsersProfile% \\Local Settings\\Temporary Internet Files"

.... any idea?

This post has been edited by crystalxp: 19 April 2006 - 02:56 PM



#2 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 19 April 2006 - 03:17 PM

I would try the install without those keys in the first instance. The majority of them are found programatically, and can be markedly different for all users. If your install didn't open the application, you may have problems, but I would like to think that those keys will be auto-completed on first run for each individual %username%.
At the most, I would only attempt to use the entries for WINDOWS SHARED and INSTALL, bearing in mind that those of us not installing Program Files to %SystemDrive% and /or with %SYSTEMROOT% not on C: will not be able to use your installer as is.

#3 User is offline   crystalxp 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 05-February 06

Posted 19 April 2006 - 06:37 PM

hi Yzöwl:
I appreciate your caring to help in this matter … ok if we assume that most people will use C:\ as their defaults then how could we manage those keys I've just pointed out?
will I have tried the installer many times and in different machines, it's working totally great I was able to manage this key for the add-on's to be:

"KEEP"="C:\\Documents and Settings\\All Users\\Application Data\\Webroot\\Washer"


It worked like a charm, and I was wondering if there is something that we could do to get the path of TEMP, RECENT, HISTORY, COOKIES, CACHE assign to other users?

Are you referring here like if I use %username% i.e. :

C:\Documents and Settings\%username%\Local Settings\History


Would have it to work for the new user?

thanx,

This post has been edited by crystalxp: 19 April 2006 - 06:39 PM


#4 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,195
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 20 April 2006 - 02:54 AM

As I said before your gift to all of us would only actually be to some of us, not only are those paths different on many PCs, the intended users may also have the software you dont, AIM ICQ and YAHOO, for instance.

I would still attempt the install without those entries at all, and hope that the software will complete the paths on first run.

If you intend going on with this method, I would sugest you use a script to programatically attain each of the required paths. You would then need to use your script to generate the REG file using that data, or change to use VBS INF CMD etc. instead.

#5 User is offline   crystalxp 

  • Newbie
  • Group: Members
  • Posts: 40
  • Joined: 05-February 06

Posted 20 April 2006 - 04:32 AM

That makes a sense ... I'll see what i can do

thanx anyway..







:thumbup :thumbup hay i've just noticed my first junior star for the 50 post anniversary :thumbup :thumbup

This post has been edited by crystalxp: 20 April 2006 - 04:44 AM


#6 User is offline   LeveL 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 551
  • Joined: 30-September 05

Posted 03 January 2007 - 04:08 AM

I just tried this InstallRite, wow, its amazing!

Could it be used to finally do painful installs like Kaspersky Antivirus?

Only one way to find out...

EDIT:

With the Webroot Window Washer problem - heres what I did...

1 - Created a silent installer with InstallRite in VMware on XP but...

2 - Before I built this installer I deleted the desktop icon for Window Washer,
just because I dont want it there and also I took the startup entry out from
the registry with a script, or you can do it manually, the InstallRite program
takes ALL of this into account so long as you do these two things before
building the app.

3 - I copied the Webroot folder from the start menu, the whole folder "Webroot"
and made a 7z file out of that folder called STARTMENU.7z

4 - I copied the file C:\WINDOWS\Unwash6.exe to a folder and also
compressed this as a 7z file - I called that WINDOWS.7z

5 - I now have 7za.exe/WINDOWS.7z/STARTMENU.7z and install.bat in a folder
along with the Window Washer silent installer which I called WinWash.exe

6 - In the bat file "install.bat" I put the following code:

start /wait WinWash.exe
7za.exe x -y -aoa WINDOWS.7z -o"%WINDIR%"
7za.exe x -y -aoa STARTMENU.7z -o"%ALLUSERSPROFILE%\Start Menu\Programs"
exit


7 - Then I made a "Ghost Application" from the batch file with "Quick Batch File Compiler"
just for the sake of hiding the command window. So then I made an SFX exe with WinRAR
from all 4 files so it extracts to the %TEMP% dir and runs that "install.exe" (batch file):

7za.exe ---> So the 7z files below can be unpacked on the command line
install.exe ---> This was "install.bat" (see above code) I only made it an exe to hide it.
WINDOWS.7z ---> This is the Window Washer uninstaller "Unwash6.exe" from the C:\WINDOWS directory.
STARTMENU.7z ---> This is the entire "Webroot" folder from the Start Menu with the shortcuts in it.
WinWash.exe ---> This is the InstallRite created installer for Window Washer.

I even gave it the Window Washer icon :whistle:

Doing all that with the 7z files solved the problem of installing on other machines
of it not having the start menu entries and it saying it cant find the uninstaller for
the program.

Its a long winded way, but it did work.

This post has been edited by LeveL: 03 January 2007 - 05:01 AM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy