question

MartinGreen-8446 avatar image
0 Votes"
MartinGreen-8446 asked itstheFranz answered

Windows 10 will not allow setup.exe to remove an replace a file from syswow64 but it can write the first time

I have an application that I wrote in vb6 that has a setup.exe If I install the application on a virgin pc, my setup.exe puts a file in C:\Windows\SysWOW64 and everything works fine. If I then un-install the application and re-install, the file needed in C:\Windows\SysWOW64 is not there. I then have to play with the system for a while to get it to allow me to put the file in C:\Windows\SysWOW64 and when I do everything works. I do not know why I can the first time but cannot subsequently.
Please explain so I can fix this..
Martin

not-supported
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Currently, Microsoft Q&A supports the products listed over here: supported topics (more to be added later on).

Questions about VB6 are not supported here. You need to ask about this in the VB6 forum. You could search Visual Basic 6 and Earlier forum in the browser to find the VB6 forum.


0 Votes 0 ·
MartinGreen-8446 avatar image
0 Votes"
MartinGreen-8446 answered

It's not a vb6 question. The question is why would the installer be allowed to put a fine in C:\Windows\SysWOW64 - then the unistaller be allowed to remove it, then the installer not allowed to add it again???? I tried this on many machines... it does the same thing. This is windows 10 20H2

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

itstheFranz avatar image
0 Votes"
itstheFranz answered

I would suggest that you have a look at how you are installing the application - It sounds like there is a registry entry or something that is tracking the fact that you have installed it before, therefore it won't install it again when you try and restore. Hope that make sense...

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.