Tags down


How to extract .msi features from command line?

By : John Perez
Date : October 14 2020, 02:15 PM
will be helpful for those in need
Short Answer: Make a transform, set Feature Table => Level Column to 0 for features you want to exclude from file extract. Run administrative installation as follows:
code :
msiexec.exe /a MySetup.msi TRANSFORMS=MyTransform.mst TARGETDIR=C:\MyExtractPath\
msiexec.exe /a MySetup.msi TRANSFORMS=MyTransform.mst TARGETDIR=C:\MyExtractPath\
Const msiOpenDatabaseModeTransact = 1
Const msiViewModifyReplace = 4

Set installer = CreateObject("WindowsInstaller.Installer")
Set database = installer.OpenDatabase("Test.msi", msiOpenDatabaseModeTransact)

' Allow user to cancel operation
If MsgBox ("Only run this on a COPY of your MSI!" & vbNewLine & vbNewLine & "Continue?", vbYesNo + vbInformation, "Warning!") = vbNo Then
   MsgBox "Update Aborted.", vbOKOnly + vbInformation, "Aborted" 
End If

sql = "SELECT * FROM `Feature`"
Set view = database.OpenView(sql)

   Set record = view.Fetch()
   If record Is Nothing Then Exit Do
   record.IntegerData(6) = 0
   view.Modify msiViewModifyReplace, record


MsgBox "Update Complete.", vbOKOnly + vbInformation, "Completed"

Share : facebook icon twitter icon

How to Select Features From Command Line

By : user401013
Date : March 29 2020, 07:55 AM
Any of those help I would change Feature1, Feature2 and Feature3 to Components, then would declare something like this:
code :
<Feature Id="FEATUREA" Title="Super" Level="1" >
  <ComponentRef Id="Component1" />
  <ComponentRef Id="Component2" />

<Feature Id="FEATUREB" Title="Super1" Level="1" >
  <ComponentRef Id="Component1" />
  <ComponentRef Id="Component3"/>
msiexec /i install.msi ADDLOCAL=[FEATUREA | FEATUREB]

How to enable Perl features via command line?

By : rolfpeter
Date : March 29 2020, 07:55 AM
I wish this helpful for you I want to enable say feature (but also all the others). I know that if I write the code on the command line, I can use -E option instead of -e. But if I am running a script: , You can import a module with the -M switch. In general,
code :
use Foo (split /,/ 'bar,baz');

Can you alter a Micronaut App features from the command line?

By : user2018063
Date : March 29 2020, 07:55 AM
fixed the issue. Will look into that further Unfortunately no, the CLI is limited to project-generation commands (create-app, create-federation) and code-generation (commands like create-controller and create-client). It does not have the ability to modify existing projects at this time.

Using the debugging features of pyCharm from the command line

By : Anil Chhalani
Date : March 29 2020, 07:55 AM
This might help you So I'm trying to debug some python code in pyCharm, and I'm wondering how to do this from the command line, where I can specify inputs. For example, say I want to execute the following: , You can actually set a debug configuration in PyCharm:

How to enable chrome features from the command line?

By : mimi
Date : September 10 2020, 12:00 PM
Does that help --flag-switches-begin and --flag-switches-end should not be manually added from the command line. They are automatically generated based on the settings in chrome://flags.
You want
code :
Privacy Policy - Terms - Contact Us © voile276.org