I have already splittet for 32 bit and 64 bit windows, and it calls seperate setups, this is working.
Then I created with Visual C++ the installer file.
But after it runs the setup, the rights of the folder are not set correctly, meaning I cannot open a file, and therefore get mistakes. And that should not be problem.
The setup of the directory structure is, that everything goes into the Program Files/Appfolder. And this appfolder, and the files below this have the wrong rights. If I change it manually it works.
Then I tried to set it from the setup programm. But somehow there is a mistake.
Code: Select all
string wnow,wnow2,wnow3; string mcommand; wnow2 = "C:/windows/system32/icacls.exe "; wnow="C:/Program Files/Hadevarim"; wnow3 = " /grant Jeder:(CI)(OI)(F) "; mcommand = wnow2+'"'+wnow+'"'+wnow3; system(mcommand.c_str());