Aug 21, 2021
10:57 AM
Hello, I am trying to run a command to execute an .exe while specifying a path in which there are several spaces. Based on this example (https://community.flexera.com/t5/InstallShield-Forum/Space-characters-in-Setup-exe-command-line/td-p/131031), I tried to do something like this (in an installshield script) MySetup.exe " /v" + "\"INSTALLDIR=c:\\PROGRA~1\\Install\\My Setup\""; (I use notations with "\" to escape the sequences as explained here: https://docs.revenera.com/installshield22helplib/Subsystems/installshield22langref/helplibrary/LangrefEscape_sequences.htm ) Unfortunately it doesn't work. At execution, I get this message: For program files, I know I can use the notation "c:\PROGRA~1" I tried and it works. But I still have the space problem with the final folder. Can't escape the spaces in my case? 😞
... View more
Labels
- Labels:
-
InstallShield 2020
Aug 19, 2021
10:38 AM
Thank you very much for this answer. I tested with INSTALLDIR in command line (not with InstallShield) and it works. Great ! I did this: MyExternalExe.exe /v"INSTALLDIR="c:\PROGRA~1\Test" Now, how can I import ("translate") this into InstallShield? To execute this external exe, I use the LaunchAppAndWait function. But how do I pass it as an option that I want it to change "INSTALLDIR"? Do I have to change the INSTALLDIR in the appilcation directly? I saw this documentation https://docs.revenera.com/isxhelp21/helplibrary/ExpressFAQSpecifyDestination.htm but I can't find this INSTALLDIR parameter in my case.
... View more
Aug 18, 2021
02:43 PM
Hello everyone, In my installer, I have to use an .exe. No problem on this side. But to avoid that the files are copied to C:\Program File(x86), I use Disable(WOW64FSREDIRECTION). At first, I followed this example ( WINSYSDIR64 ) Disable(WOW64FSREDIRECTION);
XCopyFile("c:\\program files (x86)\MyInstaller", "c:\program files\MyInstaller",INCLUDE_SUBDIR);
Enable (WOW64FSREDIRECTION); Of course, this does not prevent the creation of folders from this .exe in C:\Program File(x86) So I thought of using it in another way, like this: Disable (WOW64FSREDIRECTION);
LaunchAppAndWait( szProgram , szCmdLine , WAIT )
Enable (WOW64FSREDIRECTION); But this did not change the problem. How can I make sure that the folders created at the execution of this external exe are in c:\program files and not in C:\program files (x86) ?
... View more
Labels
Aug 09, 2021
01:36 PM
Thanks. I will look for voicewarmupx.
... View more
Aug 09, 2021
01:35 PM
Thank you for your answers. I think I understand a little better, as I am a total novice in this field. But, there is still something I don't understand. For the standard action "MoveFiles", in the Microsoft documentation, it talks about a MoveFile table. But when I save the MoveFile table in the "Direct Editor" part (of InstallShield), it is empty (with the message "There are no items to show"). Is it really this table that defines the actions? If it is the case, it would mean that this action does... nothing (if I understand correctly) because no file, source and destination folders are filled in. Or this table "MoveFile" is not there (where to find it then?) ? I'm sorry for these silly questions. But I am a total novice in this field and it is frustrating not to understand. Thanks for your help.
... View more
Aug 07, 2021
11:15 AM
Hello everyone, I am currently working on a modification / correction of an installer. It's the first time I'm working on such a subject (and the first time I'm using InstallShield). To do this I try to follow with the different forums and documentation of InstallShield. I'm a bit lost... I have to fix the installer. But when I look at the sequence, it doesn't look like what I saw in the different documentations and I don't understand how it works... There is only one Custom Actions (to launch an external executable file). No problem with that. The rest are standard actions (Execute part of the Sequences). But I don't understand how these standard actions work: for example, there is a standard action "MoveFiles" (certainly this Action I have to correct). But how do I know which files are moved by this action? If I look in the table of this action in the Direct Editor part, it is empty... There are no external scripts used (the InstallScript part is empty). In short, I don't understand how we can visualize the functioning (the actions performed) of the installer? Is there any possibility to visualize this in code form? And how to know the exact actions that perfom the standard actions (which files are concerned etc..)? I have never used this kind of software... And I am really lost (and desperate). Thanks in advance for your help
... View more
Labels
- Labels:
-
InstallShield 2020
Latest posts by Meffapef
Subject | Views | Posted |
---|---|---|
497 | Aug 21, 2021 10:57 AM | |
420 | Aug 19, 2021 10:38 AM | |
449 | Aug 18, 2021 02:43 PM | |
613 | Aug 09, 2021 01:36 PM | |
614 | Aug 09, 2021 01:35 PM | |
678 | Aug 07, 2021 11:15 AM |
Activity Feed
- Posted Impossible to escape blank space ? on InstallShield Forum. Aug 21, 2021 10:57 AM
- Tagged Impossible to escape blank space ? on InstallShield Forum. Aug 21, 2021 10:57 AM
- Tagged Impossible to escape blank space ? on InstallShield Forum. Aug 21, 2021 10:57 AM
- Tagged Impossible to escape blank space ? on InstallShield Forum. Aug 21, 2021 10:57 AM
- Posted Re: WOW64FSREDIRECTION and external .exe on InstallShield Forum. Aug 19, 2021 10:38 AM
- Posted WOW64FSREDIRECTION and external .exe on InstallShield Forum. Aug 18, 2021 02:43 PM
- Posted Re: Custom Actions, Standard Actions & Sequences on InstallShield Forum. Aug 09, 2021 01:36 PM
- Posted Re: Custom Actions, Standard Actions & Sequences on InstallShield Forum. Aug 09, 2021 01:35 PM
- Posted Custom Actions, Standard Actions & Sequences on InstallShield Forum. Aug 07, 2021 11:15 AM