Jump to content


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.
Photo

Environment Variables


1 reply to this topic

LordRaven

LordRaven
  • Members
  • 2 posts

Posted 13 February 2002 - 17:45

Hi,

I'm working with IS for MS Visual C++ and I'm having kind of a strange problem while messing around with the environment variables (WinNT 4) :

I modify the path allright and when I check in the registry, it appears ok.
Even if I reboot, the change is never applied...

Is there any other way of modifying these ENV variables (preferably without going through the batch file process...)?

Thanks,

-=-=-=-=-=-=-
-PF Sapinski



LordRaven

LordRaven
  • Members
  • 2 posts

Posted 13 February 2002 - 18:31

Ok, I've been able to find the problem by myself...

If anybody cares, the problem I had was :

In RegDBSetKeyValueEx I gave the wrong type (nvType) by parameter... I passed REGDB_STRING instead of REGDB_STRING_EXPAND (my var contained a %var_name%)

Hope it helps somebody...

-=-=-=-=-=-=-
PF Sapinski