OK, works.
Now I can make a windows installer.
It installs my program, and you can uninstall it (using windows add/remove software).
Dependencies are in the postinstallation script; shortcuts/links are installed for the user.
The installed dependencies will not be uninstalled when my program is uninstalled.

thank you.

greetings, Henk-Jan

Phillip J. Eby wrote:
At 06:03 PM 5/30/2007 +0200, henk-jan ebbers wrote:
So:
either a user uses the executable-windows-installer (with postinstallation script, but dependencies are not resolved),
or a user uses easy_install <egg> (without postinstallation script, but dependencies are resolved)

Is it possible to place something like 'easy_install <dependecies>' in the postinstallation script?

Sure, although of course those dependencies won't have *their* post-install scripts run.
I do not think this is a problem

If you do this, you probably want to have the postinstall script register the files installed.  easy_install's --record option lets you write the installed files and directories to a text file, so you could read that and record the results.  That way, if the .exe is uninstalled, the other files will go along.

The downside to this is that uninstalling the .exe will uninstall dependencies that might actually be depended on by other packages that are installed later -- IOW, a total mess.

So, I'm not sure it's a good idea.  No, scratch that, I'm pretty sure it's NOT a good idea.
That would be a very bad idea indeed.

It might be better to use bdist_msi instead, if that has a way of handling dependencies.  (I'm not sure if it does.)