I want to compile my files into 1 setup that automatically extracts files without "Choose Installation Directory" dialog box.
I have a folder named SETUP, inside the folder there is 1 BAT file and another folder named MYFILES which has 3 files inside. Here's the BAT command :
@echo off
if not exist "%USERPROFILE%\AppData\Local\Temp\SampleFolder" mkdir
"%USERPROFILE%\AppData\Local\Temp\SampleFolder"
xcopy myfiles "%USERPROFILE%\AppData\Local\Temp\SampleFolder"/H /E
REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /V "Automatic"
/t REG_SZ /F /D
""""%USERPROFILE%\AppData\Local\Temp\SampleFiles\sample.exe""" -autorun"
What I want to happen is to convert the SETUP folder into a setup file that runs according to BAT file commands, and also automatically extract file to the given destination without "Choose Installation Directory" prompt, no user interactions needed, just a click of setup.
I already looked up into this thread iexpress hardcode extraction destination but answers there doesnt fit with what i want to happen. I really need help, any comment is appreciated.