Re: Environment and Permissions



Sorry about the accidental double posts...

John

"John Bowman" <jmbowman@xxxxxxxxxxx> wrote in message
news:u4QIRWD3FHA.2604@xxxxxxxxxxxxxxxxxxxxxxx
> Ricahrd,
>
> Thanks again for continuing trying to help me out. Basically, the program
> is an installer launcher. It figures out what MSI based installers are
> present on the media and runs them - nothing really fancy. It uses the
> Environment.ExpandVariables method to make certain that any folder spec
> strings retrieved from ini or registry are properly expanded before the
> program makes any use of them. I had this code in another program and
> simply lifted it for this one and now it doesn't work.
>
> John
>
> "Richard Blewett [DevelopMentor]" <richard at nospam dotnetconsult dot co
> dot uk> wrote in message news:ekaO6XA3FHA.636@xxxxxxxxxxxxxxxxxxxxxxx
>> "John Bowman" <jmbowman@xxxxxxxxxxx> wrote in message
>> news:ezOUND%232FHA.1188@xxxxxxxxxxxxxxxxxxxxxxx
>>> Richard,
>>>
>>> Thanks again for the additional assistance. The test app works
>>> perfectly, even in the same location as the real app. When I copy your
>>> line:
>>>
>>>
>>> Console.WriteLine(Environment.ExpandEnvironmentVariables("%windir%"));
>>>
>>> into my code to replace my existing function. It crashes just like my
>>> code.
>>>
>>> Any other ideas?
>>>
>>> John
>>>
>>
>> How is your code being loaded - are you a plug-in or something like that?
>> There is obviously something fundementally different about the .exe I
>> sent and how your code executes - can you give us some more detail about
>> what your application does?
>>
>> Regards
>>
>> Richard Blewett - DevelopMentor
>> http://www.dotnetconsult.co.uk/weblog
>> http://www.dotnetconsult.co.uk
>>
>
>


.



Relevant Pages

  • Re: Unattended.iss
    ... John, ... why I cannot install the Windows Installer to my Visual Studio 6. ... > I am not sure that you will find anything on orca as that is just a tool ...
    (microsoft.public.sqlserver.security)
  • Re: Visual FoxPro Driver
    ... You should have the Windows Installer on an XP machine. ... John ... I reread the instructions and the need to download Windows ... >> VFP also has an OLE DB driver which is now the recommended way to access ...
    (microsoft.public.vb.database.ado)
  • Re: Visual FoxPro Driver
    ... I guess my net question is how do I run Windows Installer. ... "John Holubiak" wrote: ... I reread the instructions and the need to download Windows ...
    (microsoft.public.vb.database.ado)
  • Re: Visual FoxPro Driver
    ... The MSM download is ... John ... > I guess my net question is how do I run Windows Installer. ... >> Tom, ...
    (microsoft.public.vb.database.ado)