seahorser Posted September 25, 2024 Posted September 25, 2024 I have headache to deeply understand how to copy files from inside an cab to program files. My inf create the shortcut correctly and when I add the CopyFiles relevant directives I was asked for .lnk file. I want a simple inf example that can copy files from inside a cab file to the Program Files\myapp1 folder and that I got so far (missing the CopyFiles, DestinationDirs and the rest copy directives) [Version] Signature = $Windows NT$ [DefaultInstall] OptionDesc = "my app1 program" Tip = "whatever" Modes = 0,1,2,3 AddReg = MyCustomApp1Reg ProfileItems = myapp1 [MyCustomApp1Reg] HKCU,"Software\Myapp1\SomeTweakedOption","Option XX",0x10001,2 [myapp1] Name = myapp1 CmdLine = 16422,%Myapp1FolderUnderPrgFiles%,myapp1.exe SubDir = %Myapp1FolderUnderPrgFiles% WorkingDir = 24 InfoTip = just a test for myapp1 [Strings] Myapp1FolderUnderPrgFiles = "myapp1 folder"
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now