How extract .msi file's icon with python27 - python-2.7

I now need to use Python27 to extract the icon for the MSI file,I've tried MSilib, but it seems to only support creation and is not very friendly for reading messages.Does anyone have experience using py27 to extract MSI information? Help me

You can try to rewrite the Ctypes lib.

Related

why im not able to import pygame? [duplicate]

I've downloaded pygame-1.9.1release.tar.gz from the Pygame website. I extracted and installed it and it's working fine in the command line Python interpreter in Terminal (Ubuntu). But I want to install it for some IDE, like PyCharm. How can I do it?
Well, you don't have to download it for PyCharm here. You probably know how it checks your code. Through the interpreter! You don't need to use complex command lines or anything like that. You need to is:
Download the appropriate interpreter with PyGame included
Open your PyCharm IDE (Make sure it is up to date)
Go to File
Press Settings (Or Ctrl + Alt + S)
Double click on the option that looks like Project: Name_of_Project
Click on Project Interpreter
Choose the interpreter you want to use that includes PyGame as a module
Save your options
And you are ready to go! Here is an alternate (I have never done this, please try to test it)
Add PyGame in the same folder as your PyCharm file (Your PyCharm stuff is always in
a specific file placed by you during installation/upgrade)
Please consider putting your PyCharm stuff inside a folder for easy access.
I hope this helps you!
For PyCharm 2017 do the following:
File - Settings
Double click on your project name
Select Project Interpreter
Click on green + button on the right side of the window
Type Pygame in search window
Click Install package.
Not I'm saying that the answers above won't work, but it might be frustrating to a newbie to do command line magic.
If you are using PyCharm and you are on a Windows 10 machine use the following instructions:
Click on the Windows start menu and type cmd and click on the Command Prompt icon.
Use the command pushd to navigate to your PyCharm project which should be located in your user folder on the C:\ drive. Example: C:\Users\username\PycharmProjects\project name\venv\Scripts.
(If you are unsure go to the settings within PyCharm and navigate to the Python Interpreter settings. This should show you the file path for the interpreter that your project is using. Credit to Anthony Pham for instructions to navigate to interpreter settings.)
HINT: Use copy and paste in the command prompt to paste in the file path.
Use the command pip install pygame and the pip program will handle the rest for you.
Restart you Pycharm and you should now be able to import pygame
Hope this helps. I had a fun time trying to find out the correct way to get it installed, so hopefully this helps someone out in the future.
I just figured it out!
Put the .whl file in C:\Program Files\Anaconda3
While in the folder, click on the blue File tab in the upper left corner of the Window Explorer (assuming you're using Windows)
Click on Open Windows PowerShell as administrator
Write or just copy and paste: py -m pip install pygame
It should start installing
Done!
I hope it works for you. I know it did for me.
I already had pygame installed with python38-32
since its working just fine with it. I used this version of python us my project interpreter.
1.File -settings
2.according to your settings look for project interpreter
3.click on your current project interpreter and click on the add symbol
4.choose system interpreter
5.select the python version thats works with pygame for you
6.Note: some versions of pygame don't work with some versions of python be sure
of what are you doing.
7.hope it works.

Where do I get FFMPEG dll for php 5.6.25 for windows 8

Hi I have installed wamp with php 5.6.25. I need to enable ffmpeg. I have done the followings:
Option one:
I have followed what has provided in this link http://www.wikihow.com/Install-FFmpeg-on-Windows, but it didn't work
Option two:
Downloaded dll from http://myownhomeserver.com/wp-content/uploads/2012/12/ffmpeg6-php54-win64-vc9-all.zip
Copied dll file in F:\wamp64\bin\php\php5.6.25\ext
Added line extension=php_ffmpeg.dll on php.ini fine and restarted the wamp
But it didn't work in either way. When I check the extensions, it says no extension for ffmpeg.
Could anyone suggest what I am missing here. It would be great help.
Thanks in advance

Build Modules Unity5

Currently building a game in Unity 5. I want to build for PC instead of WebBrowser now but Unity is currently saying "No Standalone Module loaded".
I know you need to tick modules when installing Unity but I want to be able to do it without uninstalling and reinstalling unity.
Is there anyway to do this?
Cheers.
The download Assistance only give the opportunity to install the 64-bits version of Unity, not the 32-bits.
So the only option right now seems to use torrent download.
If you are a 32-bits user then it would be better for you to download the desired module and install it in 32-bit folder.

Can we extract the msi file from burn setup?

Kindly please help me to know is it possible to extract the msi file from burn exe(exe developed using burn bootstrapper concept)?
Also, i want to know is it possible to pass an burn exe as Merge Module for installation package?
Wix provides dark.exe, which can be used for this purpose (using -x).
See Unpack WIX Burn bundle

Qt Creator - how to set application icon for ubuntu linux?

I have seen the original question qt-creator-how-to-set-application-icon
but it did not help me because i am building an app in ubuntu and the Qt`s Documentation
is not clear for me..
Is there anynone, who has done it?
Whats the method?
Thanks in advance.
Linux does not have any standard for reading embedded resources, so there is no way to embed the icon in the application binary itself and have it display in the menu and launcher. You will have to install your icon in the appropriate pixmaps directory and a .desktop file in appropriate apps directory pointing to your application and respective icon.
The Qt documentation you quoted refers to icon theme specification, which describes where the files should be installed. Look for the Installing Application Icons towards the end for summary of what needs to be done.
You will have to install the files in the "install" target of your build system (qmake or cmake or what you use) and possibly create a Debian package on top of that. The Qt Creator is unlikely to help you with these.