This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Custom action and conditions
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 05, 2008
06:04 PM
Custom action and conditions
Hi There,
I've been working for two months with Installshield 2008 Porfessional.
Until now, i used to create simple custom actions (lauching another msi, an exe or a batch file) without using condition.
Now i need to copy different files but depending on one or two conditions.
For exemple, i have to copy fileA and fileB only if my computername contains "ITL". For your information, the name of my computer is ITL-CISOW-001.
Besides can i edit a file and modify some lines in it with a custom action or do i have to create a script that i will insert inside my msi?
Thank you for your helps guy and sorry for my english 🙂
Franck
I've been working for two months with Installshield 2008 Porfessional.
Until now, i used to create simple custom actions (lauching another msi, an exe or a batch file) without using condition.
Now i need to copy different files but depending on one or two conditions.
For exemple, i have to copy fileA and fileB only if my computername contains "ITL". For your information, the name of my computer is ITL-CISOW-001.
Besides can i edit a file and modify some lines in it with a custom action or do i have to create a script that i will insert inside my msi?
Thank you for your helps guy and sorry for my english 🙂
Franck
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 05, 2008
06:11 PM
For the conditions, please see the MSI help topic "Conditional Statement Syntax"; perhaps ComputerName<<"ITL" or ComputerName><"ITL" might be of use...
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)