Old 23rd May 2007, 12:07   #1
srinannapa
Junior Member
 
Join Date: May 2007
Posts: 9
MSI file from .exe file

Dear all,
Can any one suggest me how to create .msi file from .exe file, the simple way i know is copy from c:/xxxx/xx/local~1/temp. Is there any standard way for it?

Thanks in advance,
Srinivas N
srinannapa is offline   Reply With Quote
Old 23rd May 2007, 13:17   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Can I ask why you are asking here?
NSIS does not provide support for MSI's.

Stu
Afrow UK is offline   Reply With Quote
Old 23rd May 2007, 13:18   #3
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
A simple Google search for msi2exe shows a couple of results that might be useful. Other than that, it should be a pretty simple WiX script that just copies an executable to th temporary directory and executes it. It might even be one of their basic examples.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 23rd May 2007, 14:18   #4
srinannapa
Junior Member
 
Join Date: May 2007
Posts: 9
Hi Afrow ,

I fear if NSIS has any provision.
srinannapa is offline   Reply With Quote
Old 23rd May 2007, 15:33   #5
Sheik
Senior Member
 
Join Date: Feb 2007
Posts: 152
I imagine he is wondering if we could wrap our resulting NSIS based Installer .exe into a wrapper that would "push" it into an .msi, maybe even call the installer with flags, or some such, so that an NSIS based installer can "act" like an .msi, even if it really isn't...

Kludgy, but on the other hand, if your boss demands that you support .msi with NSIS, maybe this is the way out, while still being able to use NSIS?

Scott
Sheik is offline   Reply With Quote
Old 29th May 2007, 21:09   #6
jackkoho
Member
 
Join Date: Oct 2006
Posts: 70
I got an MSI to run doing this:

ExecWait '$SYSDIR\msiexec.exe /qf /i INSTDIR\dummy.msi"'
jackkoho is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump