I've managed to resolve my problem, (thanks to MrJinje and Sp0iLedBrAt) Now i want to automatically delete this file after installation. I've tried to add path in "advanced -> files to delete in destination folder" in WinRar, but the file is not deleted. I have to modify or add something in this? ;The comment below contains SFX script commands Setup=regedit /s test.reg TempMode Silent=1 Overwrite=1