Jump to content

Need help with MSI creation


Recommended Posts

I am looking for a way to create a msi file where I can essentially install software the same way a batch file does. I want the installer to do the following. Move the files to a local dir called c:\LPRTMP and then run the following:

@echo off

cls

copy LPDSVC.DLL c:\windows\system32\

copy LPRMON.DLL c:\windows\system32\

sysocmgr /i:sysoc.inf /u:unattended.txt /q

printmig /r lpr.cab

exit

Then after all installed correctly, I want to delete the temporary file. I also want to run a simple if then statement to check if the component is installed before it runs the sysocmgr command. Just not sure the code to check the component. Can anyone help me with how to do this in MSI, a great tutorial site is cool, and a name of a program that will work.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy