Need advise creating MSI package (newbie) - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

pstrooij
Posts: 8
Joined: Wed Nov 16, 2011 3:43 pm

Need advise creating MSI package (newbie)

Hello, I am new to Advanced Installer and using the trial version to decide if this is the right tool to create an installer for our products.

Our company is developing applications in Omnis Studio. I want to create an MSI installer for our products. The installation process should be as follows: install Omnis Studio software, run Omnis Studio software to enter the Omnis registration information (serial), install additional files for our application.

Is this possible to do with Advanced Installer (trial) and if so, is there any "how-to" doc available?

Another question:
Our application needs to have set some 32-bit system variables (environment variables) in Windows. But, the MSI I am creating will be used crossplatform (Win x86 / win x64 OS). In other words: the variable in an x86 OS points to C:\PROGRAM FILES, but in an x64 OS it has to point to C:\PROGRAM FILES (x86). What is the correct syntaxis to point to the x86 version of the PROGRAM FILES folder regardless the OS-version (win x86 / win x64)?

Last question:
When installing our application on a Win7 x64 OS, 1 applicationfolder has to be placed in the APPDATA\LOCAL\ folder of EACH userprofile on the local machine. How do we configure this in Advanced Installer?

Thanks.
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Need advise creating MSI package (newbie)

Hello and welcome to Advanced Installer forums,
install Omnis Studio software, run Omnis Studio software to enter the Omnis registration information (serial)
You can add Omnis Studio as a global prerequisite. Also, its installation should include the registration part. Here are some articles to help:
http://www.advancedinstaller.com/user-g ... requisites
http://www.advancedinstaller.com/user-g ... tions.html
The rest of your application's files can be included from the Files and Folder page. This way the prerequisite will be installed and registered first and then your application will follow in the main installation.
In other words: the variable in an x86 OS points to C:\PROGRAM FILES, but in an x64 OS it has to point to C:\PROGRAM FILES (x86). What is the correct syntaxis to point to the x86 version of the PROGRAM FILES folder regardless the OS-version (win x86 / win x64)?
The ProgramFiles environment variable should have this behavior. It depends on whether the process requesting the environment variable is itself 32-bit or 64-bit (this is caused by Windows-on-Windows 64-bit redirection).
Also, please keep in mind that the Program Files folder from the Files and Folders page has this exact behavior. Here's an article to clarify this.
When installing our application on a Win7 x64 OS, 1 applicationfolder has to be placed in the APPDATA\LOCAL\ folder of EACH userprofile on the local machine. How do we configure this in Advanced Installer?
Unfortunately this is not supported by Windows Installer. You should use a per-machine location instead like Common Application Data folder. This folder is described in the link above.

Since you are new, I highly recommend you read our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products.This will also help you better understand support team's suggestions now and in the future. The Simple and Professional tutorials are especially important.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”