I'm building InstallShield project using cmd tool- iscmdbld.exe. I want to specify the build directory from where it is taking files, for that I need to add components and folders.
Is there any command which does that?
what not working is:"C:\Program Files (x86)\InstallShield\2015\System\IsCmdBld.exe" -p C:\InstallShield\APEXDFZ\APEXDFZ.ism -v -z "AddComponent=C\build\MyVota" -z "AddComponent=C\build\MyVota1"
我正在使用cmd工具 - iscmdbld.exe构建InstallShield项目。我想指定构建目录从哪里获取文件,因为我需要添加组件和文件夹。有没有这样做的命令?什么不工作是:“C:\ Program Files(x86)\ InstallShield \ 2015 \ System \ IsCmdBld.exe”-p C:\ InstallShield \ APEXDFZ \ APEXDFZ.ism -v -z“AddComponent = C \ build \ MyVota” -z“AddComponent = C \ build \ MyVota1”
Last -z arguments are not working. Please help me.
最后一个-z参数不起作用。请帮帮我。
1 个解决方案
#1
1
-z is for properties, path Variables use -l. However, I do not believe you can add components using IsCmdBld.exe. When you add files to a component in InstallShield - it will give it a path variable, "PATH_TO_FILES="C:\whatever\path" if your files are being built in "C:\My\Build\Folder" then you would just:
-z用于属性,路径变量使用-l。但是,我不相信您可以使用IsCmdBld.exe添加组件。当您将文件添加到InstallShield中的组件时 - 它将为其提供路径变量,“PATH_TO_FILES =”C:\ whatever \ path“如果您的文件是在”C:\ My \ Build \ Folder“中构建的那么您将只是:
"...\IsCmdBld.exe" -p "..\APEXDFZ.ism" -l "PATH_TO_FILES=C:\My\Build\Folder"
“... \ IsCmdBld.exe”-p“.. \ APEXDFZ.ism”-l“PATH_TO_FILES = C:\ My \ Build \ Folder”
Now - I am a little confused to your question about adding components. You could add all files with exclude/include options by using a dynamic file linking where it will grab everything in that folder even sub-folders and change the path on the cmdline same way.
现在 - 我对你添加组件的问题有点困惑。您可以使用动态文件链接添加包含exclude / include选项的所有文件,它将抓取该文件夹中的所有内容甚至子文件夹,并以相同的方式更改cmdline上的路径。
However, there is a way to dynamically add components, you would want to use InstallShield's automation interface "IswiAutoXX" where XX is the version of IS you have installed - and not related to the actual version...something in the 20's. Hope this helps.
但是,有一种方法可以动态添加组件,您可能希望使用InstallShield的自动化界面“IswiAutoXX”,其中XX是您安装的IS的版本 - 与实际版本无关......在20年代的某些东西。希望这可以帮助。
#1
1
-z is for properties, path Variables use -l. However, I do not believe you can add components using IsCmdBld.exe. When you add files to a component in InstallShield - it will give it a path variable, "PATH_TO_FILES="C:\whatever\path" if your files are being built in "C:\My\Build\Folder" then you would just:
-z用于属性,路径变量使用-l。但是,我不相信您可以使用IsCmdBld.exe添加组件。当您将文件添加到InstallShield中的组件时 - 它将为其提供路径变量,“PATH_TO_FILES =”C:\ whatever \ path“如果您的文件是在”C:\ My \ Build \ Folder“中构建的那么您将只是:
"...\IsCmdBld.exe" -p "..\APEXDFZ.ism" -l "PATH_TO_FILES=C:\My\Build\Folder"
“... \ IsCmdBld.exe”-p“.. \ APEXDFZ.ism”-l“PATH_TO_FILES = C:\ My \ Build \ Folder”
Now - I am a little confused to your question about adding components. You could add all files with exclude/include options by using a dynamic file linking where it will grab everything in that folder even sub-folders and change the path on the cmdline same way.
现在 - 我对你添加组件的问题有点困惑。您可以使用动态文件链接添加包含exclude / include选项的所有文件,它将抓取该文件夹中的所有内容甚至子文件夹,并以相同的方式更改cmdline上的路径。
However, there is a way to dynamically add components, you would want to use InstallShield's automation interface "IswiAutoXX" where XX is the version of IS you have installed - and not related to the actual version...something in the 20's. Hope this helps.
但是,有一种方法可以动态添加组件,您可能希望使用InstallShield的自动化界面“IswiAutoXX”,其中XX是您安装的IS的版本 - 与实际版本无关......在20年代的某些东西。希望这可以帮助。