hi folks - my first post here.
i've successfully deployed my app to a clean computer. because of the libraries i'm using (root.cern.ch) i have no choice but to insure that a new environment variable is set on the target computer during the installation (i'm using MSI not clickonce). i also have to append to %PATH% on the target computer....
after quite some searching, i understand that i must edit the environment table in the msi file. i opened the installer in orca.exe, and i can see the Environment table, and i know i need to add 2 rows there. but after a lot of reading i am still very unsure what 4 strings need to be in these rows!
i.e. i want the name of the environment variable to be ROOTSYS, and its value to be [TARGETDIR], but i don't know what to put in the "Environment" and "Component" columns..... i RTFM and everything google can find but it's still not clear to me what the "primary key" and "external key to component table" columns are, respectively.
for appending to the path, i assume i just define a 2nd row in the Environment table, with name PATH and value
;[TARGETDIR]\bin\ but still i am not clear on the other columns...
i see the WriteEnvironmentStrings action (condition= empty, Sequence= 5200) and the RemoveEnvironmentStrings action (condition= empty, Sequence= 3300) in the InstallExecuteSequence Table, so i guess that part is all set.
any hints would be greatly appreciated! - newbie
p.s. BTW: Visual Studio Standard, both dev and target machines are XP Pro, validated & w/ all updates.....