msi: Correct the setting of environment variables.
commit06c45a8d59194f93b449d05524af969dad1ab2e3
authorJason Edmeades <us@edmeades.me.uk>
Wed, 20 Jan 2010 09:40:37 +0000 (20 09:40 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 20 Jan 2010 14:34:19 +0000 (20 15:34 +0100)
treed693f38932aaf6605901927169239bb7521289cf
parentbfe9e6d74c833b485116bb51bb3196daf661b332
msi: Correct the setting of environment variables.

Contrary to the MSDN, you can 'create only' whilst using a previous value
(ie +-variable and [~];value). This breaks the install of an application
I was debugging who uses that throughout for all their variables. In
addition whilst adding some tests I've also cleaned up invalid prefix
syntax handling and semicolon removal if the original string is empty.
dlls/msi/action.c
dlls/msi/tests/install.c