orca

DISABLEADVTSHORTCUTS=1 disables all shortcuts

旧巷老猫 提交于 2019-12-17 22:53:27
问题 We have an application to be run on startup that allows many installed files to be changed after installation. We are trying to turn off the self-healing mode by setting the DISABLEADVTSHORTCUTS=1 property in Orca. However, no shortcuts are being created when this property is set. All the information I've seen indicates that we should be able to create "non-advertised" shortcuts with DISABLEADVTSHORTCUTS=1 set. Any ideas? I have verified that the shortcuts are created correctly if

Use Orca to edit msi from command line?

纵饮孤独 提交于 2019-12-17 17:42:24
问题 I'm using Visual Studio 2008 and have created a setup project for my application. The application has a high-resolution icon (for Vista). There's a bug in Visual Studio, and the installer creates a desktop shortcut with a low resolution icon. I logged this bug in Microsoft Connect (https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=338258) and finally got an answer, which is to use Orca to edit the msi file and replace the icon. That solutions works fine. Now I

Use Orca to edit msi from command line?

丶灬走出姿态 提交于 2019-12-17 17:42:06
问题 I'm using Visual Studio 2008 and have created a setup project for my application. The application has a high-resolution icon (for Vista). There's a bug in Visual Studio, and the installer creates a desktop shortcut with a low resolution icon. I logged this bug in Microsoft Connect (https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=338258) and finally got an answer, which is to use Orca to edit the msi file and replace the icon. That solutions works fine. Now I

Simplest solution to replace a tiny file inside an MSI?

江枫思渺然 提交于 2019-12-17 12:24:52
问题 Many of our customers have access to InstallShield, WISE or AdminStudio. These aren't a problem. I'm hoping there is some way I can provide our smaller customers without access to commercial repackaging tools a freely available set of tools and steps to do the file replacement themselves. Only need to replace a single configuration file inside a compressed MSI, the target user can be assumed to already have Orca installed, know how to use this to customize the Property table (to embed license

How to modify contents / replace a binary of an .msi file as a post-build step?

泄露秘密 提交于 2019-12-10 11:09:17
问题 When building a Visual Studio 2010 Setup project with a CustomAction on x64 systems, Visual Studio includes the wrong version of InstallUtilLib.dll : It installs the 32bit shim, which will not work for CustomActions compiled as 64-bit (a requirement in my case, since it depends on 64-bit native dlls). Installing such a .msi results in the System.BadImageFormat exception. According to this post (64-bit Managed Custom Actions with Visual Studio), the solution is to open the resulting .msi in

Is it possible to programatically change an msi's database on Linux

六月ゝ 毕业季﹏ 提交于 2019-12-08 08:39:21
I know you can change it using cscript.exe on Windows. Is there a Linux program providing cscript-like functionality? Or is there some other way I can change the database in Linux? CScript is just the script execution engine; it knows nothing about MSI directly. Check out Wine; it implements some/most of msi.dll, so as long as functions like MsiDatabaseOpenView and MsiViewExecute are correctly implemented, you should be able to use it to modify an .msi package. 来源: https://stackoverflow.com/questions/7115086/is-it-possible-to-programatically-change-an-msis-database-on-linux

Windows Installer custom action BEFORE any validation

蓝咒 提交于 2019-12-06 11:23:31
问题 I wrote a Windows Installer custom action based on the tutorial found here: http://www.codeproject.com/kb/install/msicustomaction.aspx My custom action is killing a background process of a given name which could still be opened by the user. The reason is that I don't want users to see the warning that a given EXE is running and must be closed so that setup can continue. This works fine when the MSI passes through the UI sequence as the action is created in "InstallUISequence" table like in

java.lang.IllegalStateException: Orca SharedPreferences used before initialized

谁说胖子不能爱 提交于 2019-12-06 01:41:33
问题 I have integrated the Facebook SDK for android v3.5 in my app and included the install publishing code: com.facebook.AppEventsLogger.activateApp(this); But I am receiving a lot of crashes caused by: Settings.java line 418 com.facebook.Settings.getAttributionId and it's throwing the exception: java.lang.IllegalStateException: Orca SharedPreferences used before initialized I have been trying to reproduce the crash with no success. Has anybody encountered this issue? I just want to know if: /*

Windows Installer custom action BEFORE any validation

萝らか妹 提交于 2019-12-04 17:08:18
I wrote a Windows Installer custom action based on the tutorial found here: http://www.codeproject.com/kb/install/msicustomaction.aspx My custom action is killing a background process of a given name which could still be opened by the user. The reason is that I don't want users to see the warning that a given EXE is running and must be closed so that setup can continue. This works fine when the MSI passes through the UI sequence as the action is created in "InstallUISequence" table like in the tutorial. However, when the MSI is used silently (right-click and select repair or uninstall), then

java.lang.IllegalStateException: Orca SharedPreferences used before initialized

强颜欢笑 提交于 2019-12-04 06:09:09
I have integrated the Facebook SDK for android v3.5 in my app and included the install publishing code: com.facebook.AppEventsLogger.activateApp(this); But I am receiving a lot of crashes caused by: Settings.java line 418 com.facebook.Settings.getAttributionId and it's throwing the exception: java.lang.IllegalStateException: Orca SharedPreferences used before initialized I have been trying to reproduce the crash with no success. Has anybody encountered this issue? I just want to know if: /* Only activate FaceBook publish install if the user has the FaceBook app installed */ if (com.facebook