|
|
#1 |
|
Junior Member
Join Date: Oct 2003
Location: France
Posts: 15
|
Is SetShellVarContext instruction not synchronous ? It seems not to work immediately.
My script has some problem on my freshly installed MS Windows 98 Second Edition. The machine is a Pentium II 350 MHz with 128 MB of RAM. In my full script, when installing, $DESKTOP is called after a few minutes of execution as there are many files copied. Its value is C:\WINDOWS\All Users\Desktop as expected. The problem is that during the uninstalling process, being much shorter in time, the value of $DESKTOP is C:\WINDOWS\Desktop. On my Windows 2000 and Windows XP machines there is no problem with the same .exe installer. The script can be stripped down to this test file : With this simple script and Windows 98, the value of $DESKTOP is never C:\WINDOWS\All Users\Desktop but always C:\WINDOWS\Desktop.code: The important part is that the section displays twice C:\WINDOWS\Desktop on Windows 98.code: There is only one user account on the machine. |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
It's synchronous. See bug report #1008632.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Oct 2003
Location: France
Posts: 15
|
Thank you kichik,
I searched the forum, the site and the wiki but i missed the bug tracker
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|