Richard
Thu May 10 19:03:09 CDT 2007
"Superfreak3" <Matt.Walker@synergis.com> wrote in message
news:1178824803.935859.304960@e51g2000hsg.googlegroups.com...
> On May 10, 3:04 pm, "Richard Mueller [MVP]" <rlmueller-
> nos...@ameritech.nospam.net> wrote:
>> > I haven't actually experienced problems yet. I was just going by what
>> > I was reading in posts (Shouldn't believe everything I read, I
>> > guess!). Maybe there were problems with early/beta versions of VISTA
>> > or something. I feel better just reading your posts! I'm just trying
>> > to prepare myself for changes I might have to make to our Windows
>> > Installer based installations.
>>
>> > Thanks all!
>>
>> The one issue to be concerned about is installation programs. All of my
>> setup programs (VBScript or VB) fail under Vista. This is due to the new
>> security features, in particular User Account Control (UAC). My VBScript
>> programs that write to the registry, for example, fail.
>>
>> I use InstallShield to create many setup programs. This had to be
>> upgraded
>> to a new version that handles Vista. Setups created with previous
>> versions
>> of InstallShield all fail.
>>
>> One solution for VBScript programs is to run them in a command window
>> launched with "Run as Administrator", but the user will get a screen
>> asking
>> them to confirm (and provide admin credentials if they are not admin).
>> Another solution is to provide something called a manifest. I have not
>> investigated this yet.
>>
>> Writing to the registry is especially tricky. You may think you have
>> written
>> to HKLM, but instead the OS has written to a new virtual location in the
>> registry. The setting is only available to you (the user that ran the
>> program), not other users.
>>
>> My solution so far has been to use a new version of InstallShield. Any
>> programs you write need to be tested. I would research manifests.
>>
>> --
>> Richard Mueller
>> Microsoft MVP Scripting and ADSI
>> Hilltop Lab -
http://www.rlmueller.net
>> --
>
> Thanks for the information. I wonder if my scripts will run on VISTA
> if I'm only checking a web extension in one of the scripts and
> extracting an .rtf file from the Binary table of my .msi and printing
> it in the other script? I guess when we start testing on that
> platform we'll see.
>
That sounds ok. If you can perform the task manually on a Vista computer
without getting the User Account Control dialog asking for your permission
to continue, you should be fine.
--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab -
http://www.rlmueller.net
--