Substring %%T will be replaced with path to temporaryĭirectory Directory prefix for "RunProgram". RunProgram="hidcon:fm0:\"%%S\\install.cmd\" /Q"įrom the documentation, which I did not read carefully enough: ID_String Description ![]() Here is how you use parameters for 'Run Program' RunProgram="notepad.exe" After reading the installer.txt document that comes with the LZMA SDK for the 100th time, I realized that 'ExecuteParameters' does not work with 'RunProgram', it only works with 'ExecuteFile'. Well, it turns out it had nothing to do with quotes or anything. The parameters are ignored, which I verified with ProcessExplorer, and Deploy-Application.exe launches with no parameters. However, when I have a config file that looks like this: still does not work. I just tested this by running it via cmd, like this: Deploy-Application.exe -DeploymentType UninstallĪnd it worked fine. copy /b 7zsd.sfx config.txt itunes.7z 'iTunes Switchless.exe'. ![]() Open a command prompt and navigate to the folder where you have your files and run the following command. Here is my config file: It turns out that Deploy-Application.exe does not need quotes around the parameters. Make sure all the files are in the same folder. ![]() ![]() Is there an excape character for a double quote for the 7-zip SFX module? If there is I cannot find it! When I put that in my config file, it doesn't work, because the Sfx module thinks my parameter is just -DeploymentTypeīecause of the double quote. Deploy-Application.exe takes a parameter that looks like this: Deploy-Application.exe -DeploymentType "Uninstall" I need to create an installer that runs a file called Deploy-Application.exe.
0 Comments
Leave a Reply. |