Hi...
I am using Visual Studio Installer for creating an .msi package.
In the registtry settings window I have added the following key:-
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
In this I have specified the following:-
Name : Path
Data Type: vsirdtREG_SZ
Value : [~];C:\Winfcp\Exe
The msi package created using this doesn't get the environment path properly from system properly.
Therefore if the path was :
C:\Winnt\System32
it becomes:-
;C:\Winfcp\Exe
Also when I uninstall this package the "Path" environment is removed from the registry.
My problem is :-
1) How do i add onto the current Environment path
2) During uninstall, how do I force the uninstaller to revert back to the previous Environment path value.
Any help would be greatly appreciated.
Vinay
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Registry key is removed during uninstall?
Started by
vinaychandran
, Apr 29 2002 05:33
3 replies to this topic
Posted 12 October 2005 - 04:30
Is there anyone that has the answer to this?
This is basically the same question that I was going to ask.
I got all happy when I found in the search only to find that there are no replies
I understand that using software such as installshield has these options but I'd like to know if it can be done using the VS.Net installer.
Thanks,
Wes
This is basically the same question that I was going to ask.
I got all happy when I found in the search only to find that there are no replies
I understand that using software such as installshield has these options but I'd like to know if it can be done using the VS.Net installer.
Thanks,
Wes
Posted 12 October 2005 - 05:38
ok,
I think I found the answer to the above problem by editing the environment table with this:
Environment: Path
Name: =-*PATH
Value: [~];[INSTALLDIR]
But, I am unsure of what to put in the component_ field?
Any ideas?
I am using ORCA to edit the environment table.
I think I found the answer to the above problem by editing the environment table with this:
Environment: Path
Name: =-*PATH
Value: [~];[INSTALLDIR]
But, I am unsure of what to put in the component_ field?
Any ideas?
I am using ORCA to edit the environment table.
Edited by Wesley Paik, 12 October 2005 - 05:39.
Posted 12 October 2005 - 11:23
The component that should trigger the installation of that entry.
When you try to edit a relational database with a low level table viewer should should carefully read the documentation about the affected tables to avoid corruption.
When you try to edit a relational database with a low level table viewer should should carefully read the documentation about the affected tables to avoid corruption.
Stefan Krüger
InstallSite.org twitter facebook