installscript-msi

How to read XML node's value in InstallScript

牧云@^-^@ 提交于 2021-01-29 08:10:24
问题 I have following XML file. <Configuration> <Config1 connection="SQL">SampleData<Config1> </Configuration> I want to read the value "SampleData" of node Config1 in InstallScript function. I tried properties text, value, nodevalue. But none of it worked. I can read attribute connection's value. But how I can read node's value "SampleData"? 回答1: Help Documentation : Maybe try this help file documentation: Searching for XML Data Modifying XML Files Using XPath Expressions to Find XML Data in an

What VSDCA_Launch mean in Custom Action script

穿精又带淫゛_ 提交于 2019-12-18 09:27:57
问题 I want to launch an application after installation with Visual Studio setup&deployment output. I follow the article 'How do I launch an application after install in a Visual Studio Setup Project'. It has a solution that using Custom Action to add a checkbox and launch the application after installation. But I still have a problem, the application has launched with the working directory was difference from the target directory. Therefore it can't read XML configuration file. I've read more

InstrallShield Major Upgrade not completely uninstalling previous version

白昼怎懂夜的黑 提交于 2019-12-14 02:27:44
问题 I have an InstallShield 2016 InstallScript MSI project. I used the Major Upgrade option but with that approach what I see is that files of previous version gets removed, registry entries get deleted, etc. However, the uninstallation logic that is in the InstallScript (*.rul) files does not seem to get executed and hence the uninstall of previous version is not complete. Basically, it seems Major Upgrade does not execute InstallScript code? Please advise. thanks, 回答1: Many years ago I had to

Get dir setup install shield

久未见 提交于 2019-12-11 14:41:40
问题 I want get dir my setup create by install shield. I use command parametter Setup.exe /path=[SETUPEXEDIR]\log.txt My setup location is Desktop\myapp\Setup.exe When use [SETUPEXEDIR] return temp folder I want when use [SETUPEXEDIR] return me my Setup.exe location. I use installshield 2016 version 23 SP 2. I use MSI Script. I want get location and use in command parameter prerequisites. 回答1: A little hard to comprehend exactly what you are asking, but as far as I understand you want to know the

Uninstalling an InstallShield Installscript MSI program using C# silently

こ雲淡風輕ζ 提交于 2019-12-02 21:10:42
问题 This is going to be very specific to InstallShield, so I doubt anyone has dealt with this before, but I wrote a batch file to uninstall prior versions of our product and it doesn't work. (We always uninstall prior versions prior to an install/upgrade since the Upgrades in InstallShield don't seem to work). Uninstalling Installscript MSI projects is very different from typical uninstalls in that you need to "record" an uninstall and store the results in a file i.e.: setup.exe /x /r /f1"C:\temp

Unselected Feature Being Installed

♀尐吖头ヾ 提交于 2019-11-30 05:49:32
问题 I've been shoved into a DevOps position at work with very little knowledge about InstallShield or what I'm doing. Everything I've learned I've learned by doing and reading Flexera's documentation. One of our tickets is a problem that I haven't been able to find results for when Googling - I'm probably using the wrong search terms, but don't know what the right ones are. Basically, our installer has a buttload of features. Some of these features have sub-features, which are always installed if

Unselected Feature Being Installed

让人想犯罪 __ 提交于 2019-11-27 16:23:12
I've been shoved into a DevOps position at work with very little knowledge about InstallShield or what I'm doing. Everything I've learned I've learned by doing and reading Flexera's documentation. One of our tickets is a problem that I haven't been able to find results for when Googling - I'm probably using the wrong search terms, but don't know what the right ones are. Basically, our installer has a buttload of features. Some of these features have sub-features, which are always installed if you select the main feature. Everything is set to be installed by default, but you can disable any of