Archive: after installation on vista, desktop icons disappear.


after installation on vista, desktop icons disappear.
hi there,
i have made an installer using NSIS which after completion of installation process on vista machine makes all the desktop icons disappear, which again appear on re-login.

any help is highly appreciated.


might help to specify what your script does - or better yet, paste as much code as you can. I'd guess you're doing something with the desktop/explorer/shell - but there's no way to tell without further information :)


it installs a messenger by copying some images, dlls and exe file in program files directory on windows vista.
it majorly happens when the product is upgraded.
by upgraded i mean, when the product is already running and the installer closes that program and installs the product by overwriting the existing files, all desktop icons disappear.


yes i am making the following system call.

System::Call 'Shell32::SHChangeNotify(i 0x8000000, i 0, i 0, i 0)'


could you please assist me further.